- Timestamp:
- 09/23/2019 05:39:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-post-statuses-controller.php
r43571 r46252 154 154 $data = $response->get_data(); 155 155 $properties = $data['schema']['properties']; 156 $this->assertEquals( 7, count( $properties ) );156 $this->assertEquals( 8, count( $properties ) ); 157 157 $this->assertArrayHasKey( 'name', $properties ); 158 158 $this->assertArrayHasKey( 'private', $properties ); … … 162 162 $this->assertArrayHasKey( 'show_in_list', $properties ); 163 163 $this->assertArrayHasKey( 'slug', $properties ); 164 $this->assertArrayhasKey( 'date_floating', $properties ); 164 165 } 165 166 … … 218 219 array_keys( $links ) 219 220 ); 221 $this->assertEquals( $status_obj->date_floating, $data['date_floating'] ); 220 222 } 221 223
Note: See TracChangeset
for help on using the changeset viewer.