- Timestamp:
- 09/26/2023 03:30:34 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-autosaves-controller.php
r56548 r56714 216 216 'date', 217 217 'date_gmt', 218 'id', 219 'meta', 218 220 'modified', 219 221 'modified_gmt', 220 'guid',221 'id',222 222 'parent', 223 223 'slug', 224 'guid', 224 225 'title', 225 226 'excerpt', … … 289 290 $data = $response->get_data(); 290 291 $properties = $data['schema']['properties']; 291 $this->assertCount( 1 3, $properties );292 $this->assertCount( 14, $properties ); 292 293 $this->assertArrayHasKey( 'author', $properties ); 293 294 $this->assertArrayHasKey( 'content', $properties ); … … 303 304 $this->assertArrayHasKey( 'title', $properties ); 304 305 $this->assertArrayHasKey( 'preview_link', $properties ); 306 $this->assertArrayHasKey( 'meta', $properties ); 305 307 } 306 308
Note: See TracChangeset
for help on using the changeset viewer.