Changeset 48939 for trunk/tests/phpunit/tests/query/search.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/query/search.php
r48937 r48939 154 154 ); 155 155 156 $this->assert EqualSets( array( $p2 ), $q->posts );156 $this->assertSameSets( array( $p2 ), $q->posts ); 157 157 } 158 158 … … 181 181 ); 182 182 183 $this->assert EqualSets( array( $p2 ), $q->posts );183 $this->assertSameSets( array( $p2 ), $q->posts ); 184 184 } 185 185 … … 214 214 ); 215 215 216 $this->assert EqualSets( array( $p3 ), $q->posts );216 $this->assertSameSets( array( $p3 ), $q->posts ); 217 217 } 218 218 … … 247 247 ); 248 248 249 $this->assert EqualSets( array( $p1, $p3 ), $q->posts );249 $this->assertSameSets( array( $p1, $p3 ), $q->posts ); 250 250 } 251 251 … … 293 293 ); 294 294 295 $this->assert EqualSets( array( $p2 ), $q->posts );295 $this->assertSameSets( array( $p2 ), $q->posts ); 296 296 } 297 297 … … 346 346 ); 347 347 348 $this->assert EqualSets( array( $p1, $p3 ), $q->posts );348 $this->assertSameSets( array( $p1, $p3 ), $q->posts ); 349 349 350 350 $q = new WP_Query( … … 355 355 ); 356 356 357 $this->assert EqualSets( array( $p1, $p2 ), $q->posts );357 $this->assertSameSets( array( $p1, $p2 ), $q->posts ); 358 358 359 359 $q = new WP_Query( … … 364 364 ); 365 365 366 $this->assert EqualSets( array( $p2 ), $q->posts );366 $this->assertSameSets( array( $p2 ), $q->posts ); 367 367 } 368 368
Note: See TracChangeset
for help on using the changeset viewer.