- Timestamp:
- 06/14/2022 12:40:29 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r52389 r53498 1386 1386 $this->assertCount( 0, $response->get_data() ); 1387 1387 1388 // FIXME Since this request returns zero posts, the query is executed twice. 1389 $this->assertCount( 2, $this->posts_clauses ); 1388 $this->assertCount( 1, $this->posts_clauses ); 1390 1389 $this->posts_clauses = array_slice( $this->posts_clauses, 0, 1 ); 1391 1390 … … 1418 1417 $this->assertCount( 0, $response->get_data() ); 1419 1418 1420 // FIXME Since this request returns zero posts, the query is executed twice. 1421 $this->assertCount( 2, $this->posts_clauses ); 1419 $this->assertCount( 1, $this->posts_clauses ); 1422 1420 $this->posts_clauses = array_slice( $this->posts_clauses, 0, 1 ); 1423 1421 … … 1437 1435 $this->assertCount( 0, $response->get_data() ); 1438 1436 1439 // FIXME Since this request returns zero posts, the query is executed twice. 1440 $this->assertCount( 2, $this->posts_clauses ); 1437 $this->assertCount( 1, $this->posts_clauses ); 1441 1438 $this->posts_clauses = array_slice( $this->posts_clauses, 0, 1 ); 1442 1439
Note: See TracChangeset
for help on using the changeset viewer.