Skip to content

Commit

Permalink
Remove some test kruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Oct 7, 2024
1 parent 17bf11c commit de91b57
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
beStrictAboutTodoAnnotatedTests="true"
convertDeprecationsToExceptions="true"
verbose="true">
<php>
<const name="foo" value="bar"/>
</php>
<testsuites>
<testsuite name="default">
<directory suffix=".php">tests/unit</directory>
Expand Down
6 changes: 0 additions & 6 deletions tests/unit/Date_Query_Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ public function test_range_and_relationship_are_discreet( $custom_data, $expecte
* Data provider
*/
public function data_all_ranges_return_expected() {

$today = strtotime( 'today' );
$last_month = strtotime( 'first day of -1 months' );

$after = strtotime( "first day of {$months_offset} months" );
$before = strtotime( 'last day of last month' );
return [
// Month
[
Expand Down

0 comments on commit de91b57

Please sign in to comment.