- Timestamp:
- 11/09/2016 07:12:01 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r39160 r39182 1042 1042 $data = $response->get_data(); 1043 1043 $properties = $data['schema']['properties']; 1044 $this->assertEquals( 2 3, count( $properties ) );1044 $this->assertEquals( 24, count( $properties ) ); 1045 1045 $this->assertArrayHasKey( 'author', $properties ); 1046 1046 $this->assertArrayHasKey( 'alt_text', $properties ); … … 1068 1068 $this->assertArrayHasKey( 'slug', $properties ); 1069 1069 $this->assertArrayHasKey( 'source_url', $properties ); 1070 $this->assertArrayHasKey( 'template', $properties ); 1070 1071 $this->assertArrayHasKey( 'title', $properties ); 1071 1072 $this->assertArrayHasKey( 'raw', $properties['title']['properties'] );
Note: See TracChangeset
for help on using the changeset viewer.