- Timestamp:
- 10/07/2019 05:04:49 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r44933 r46422 1328 1328 $data = $response->get_data(); 1329 1329 $properties = $data['schema']['properties']; 1330 $this->assertEquals( 2 6, count( $properties ) );1330 $this->assertEquals( 27, count( $properties ) ); 1331 1331 $this->assertArrayHasKey( 'author', $properties ); 1332 1332 $this->assertArrayHasKey( 'alt_text', $properties ); … … 1361 1361 $this->assertArrayHasKey( 'rendered', $properties['title']['properties'] ); 1362 1362 $this->assertArrayHasKey( 'type', $properties ); 1363 $this->assertArrayHasKey( 'missing_image_sizes', $properties ); 1363 1364 } 1364 1365
Note: See TracChangeset
for help on using the changeset viewer.