- Timestamp:
- 08/19/2022 04:13:38 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-tags-controller.php
r52068 r53909 55 55 // Set up tags for pagination tests. 56 56 for ( $i = 0; $i < self::$total_tags; $i++ ) { 57 $tag_ids[] = $factory->tag->create(57 self::$tag_ids[] = $factory->tag->create( 58 58 array( 59 59 'name' => "Tag {$i}", … … 413 413 $tags = $response->get_data(); 414 414 415 $this->assertNotEmpty( $tags ); 416 415 417 $i = 0; 416 418 foreach ( $tags as $tag ) { … … 426 428 $response = rest_get_server()->dispatch( $request ); 427 429 $tags = $response->get_data(); 430 431 $this->assertNotEmpty( $tags ); 428 432 429 433 foreach ( $tags as $tag ) {
Note: See TracChangeset
for help on using the changeset viewer.