Changeset 33102 for trunk/tests/phpunit/tests/query.php
- Timestamp:
- 07/07/2015 12:57:04 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query.php
r33095 r33102 156 156 $this->go_to( $url ); 157 157 158 $this->assertEqual s( array( $p1, $p2 ), wp_list_pluck( $GLOBALS['wp_query']->posts, 'ID' ) );158 $this->assertEqualSets( array( $p1, $p2 ), wp_list_pluck( $GLOBALS['wp_query']->posts, 'ID' ) ); 159 159 } 160 160 … … 182 182 $this->go_to( $url ); 183 183 184 $this->assertEqual s( array( $p1, $p2, $p3 ), wp_list_pluck( $GLOBALS['wp_query']->posts, 'ID' ) );184 $this->assertEqualSets( array( $p1, $p2, $p3 ), wp_list_pluck( $GLOBALS['wp_query']->posts, 'ID' ) ); 185 185 } 186 186 … … 211 211 $this->go_to( $url ); 212 212 213 $this->assertEqual s( array( $p1, $p2, $p3 ), wp_list_pluck( $GLOBALS['wp_query']->posts, 'ID' ) );213 $this->assertEqualSets( array( $p1, $p2, $p3 ), wp_list_pluck( $GLOBALS['wp_query']->posts, 'ID' ) ); 214 214 } 215 215 }
Note: See TracChangeset
for help on using the changeset viewer.