Changeset 29923 for trunk/tests/phpunit/tests/date/query.php
- Timestamp:
- 10/16/2014 07:33:24 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/date/query.php
r29906 r29923 56 56 'month' => 6, 57 57 ), 58 'column' => 'post_date', 59 'compare' => '=', 60 'relation' => 'AND', 58 61 ), 62 'column' => 'post_date', 63 'compare' => '=', 64 'relation' => 'AND', 59 65 ); 60 66 … … 74 80 ) ); 75 81 76 // Note: WP_Date_Query does not reset indexes77 82 $expected = array( 78 2 =>array(83 array( 79 84 'before' => array( 80 85 'year' => 2008, 81 86 'month' => 6, 82 87 ), 88 'column' => 'post_date', 89 'compare' => '=', 90 'relation' => 'AND', 83 91 ), 92 'column' => 'post_date', 93 'compare' => '=', 94 'relation' => 'AND', 84 95 ); 85 96 86 $this->assert Same( $expected, $q->queries );97 $this->assertEquals( $expected, $q->queries ); 87 98 } 88 99
Note: See TracChangeset
for help on using the changeset viewer.