- Timestamp:
- 09/09/2023 09:26:01 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-tags-controller.php
r55745 r56549 416 416 foreach ( $tags as $tag ) { 417 417 $this->assertSame( $tag['name'], "Tag {$i}" ); 418 $i++;418 ++$i; 419 419 } 420 420 … … 431 431 foreach ( $tags as $tag ) { 432 432 $this->assertSame( $tag['name'], "Tag {$i}" ); 433 $i++;433 ++$i; 434 434 } 435 435 } … … 600 600 // 3rd page. 601 601 self::factory()->tag->create(); 602 $total_tags++;603 $total_pages++;602 ++$total_tags; 603 ++$total_pages; 604 604 $request = new WP_REST_Request( 'GET', '/wp/v2/tags' ); 605 605 $request->set_param( 'page', 3 );
Note: See TracChangeset
for help on using the changeset viewer.