- Timestamp:
- 07/07/2021 10:32:56 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-taxonomies-controller.php
r50450 r51367 212 212 $this->assertArrayHasKey( 1, $types ); 213 213 $this->assertSame( 'attachment', $types[1] ); 214 $this->assert Same( 2, count( $types ));214 $this->assertCount( 2, $types ); 215 215 } 216 216 … … 220 220 $data = $response->get_data(); 221 221 $properties = $data['schema']['properties']; 222 $this->assert Same( 10, count( $properties ));222 $this->assertCount( 10, $properties ); 223 223 $this->assertArrayHasKey( 'capabilities', $properties ); 224 224 $this->assertArrayHasKey( 'description', $properties );
Note: See TracChangeset
for help on using the changeset viewer.