Skip to content

Commit

Permalink
Merge branch 'master' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Aug 3, 2024
2 parents 44ca978 + 8bcca7c commit 4e1b396
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/Views/Filters/DateRangeFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ public function test_can_get_if_empty(): void
$this->assertTrue(self::$filterInstance->isEmpty(['minDate' => '2020-01-01']));
$this->assertTrue(self::$filterInstance->isEmpty(['minDate' => '2020-01-01', '']));
$this->assertTrue(self::$filterInstance->isEmpty(['2020-01-01']));

$this->assertTrue(self::$filterInstance->isEmpty('test'));
}

Expand Down Expand Up @@ -155,7 +154,6 @@ public function test_can_check_validation_rejects_invalid_values(): void
$this->assertFalse(self::$filterInstance->validate(['minDate' => '12020-13-21', 'maxDate' => '2020-12-22']));
$this->assertFalse(self::$filterInstance->validate(['minDate' => '2020-02-22', 'maxDate' => '2020-02-21']));
$this->assertFalse(self::$filterInstance->validate(['minDate' => '2020-02-22', 'maxDate' => 'test']));

}

public function test_can_check_validation_rejects_invalid_earliest_latest_values(): void
Expand Down

0 comments on commit 4e1b396

Please sign in to comment.