- Timestamp:
- 09/29/2023 03:22:12 PM (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php
r56549 r56746 224 224 ); 225 225 $categories = get_terms( 'category', $args ); 226 $this->assert Same( count( $categories ), count( $data ));226 $this->assertCount( count( $categories ), $data ); 227 227 } 228 228 … … 256 256 ); 257 257 $categories = get_terms( 'category', $args ); 258 $this->assert Same( count( $categories ), count( $data ));258 $this->assertCount( count( $categories ), $data ); 259 259 } 260 260 … … 1190 1190 ); 1191 1191 $categories = get_terms( 'category', $args ); 1192 $this->assert Same( count( $categories ), count( $data ));1192 $this->assertCount( count( $categories ), $data ); 1193 1193 $this->assertSame( $categories[0]->term_id, $data[0]['id'] ); 1194 1194 $this->assertSame( $categories[0]->name, $data[0]['name'] );
Note: See TracChangeset
for help on using the changeset viewer.