Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
moon0326 committed Feb 29, 2024
1 parent f9b3cf2 commit 0ce4a35
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -21,7 +21,7 @@ class WC_Admin_Tests_RemoteInboxNotifications_Comparison_Operation extends WC_Un
* @return void
*/
public function setUp(): void {
parent::setUp(); // TODO: Change the autogenerated stub
parent::setUp();
$this->operation = new ComparisonOperation();
}

Expand All @@ -32,10 +32,10 @@ public function setUp(): void {
* @return void
*/
public function test_range() {
$this->assertTrue( $this->operation->compare( 1, array( 1, 10 ), 'range') );
$this->assertFalse( $this->operation->compare( 11, array( 1, 10 ), 'range') );
$this->assertFalse( $this->operation->compare( 11, array( 1, 10, 2 ), 'range') );
$this->assertFalse( $this->operation->compare( 11, 'string', 'range') );
$this->assertTrue( $this->operation->compare( 1, array( 1, 10 ), 'range' ) );
$this->assertFalse( $this->operation->compare( 11, array( 1, 10 ), 'range' ) );
$this->assertFalse( $this->operation->compare( 11, array( 1, 10, 2 ), 'range' ) );
$this->assertFalse( $this->operation->compare( 11, 'string', 'range' ) );

}

Expand Down

0 comments on commit 0ce4a35

Please sign in to comment.