- Timestamp:
- 06/04/2024 10:21:11 AM (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r58065 r58326 4363 4363 $data = $response->get_data(); 4364 4364 $properties = $data['schema']['properties']; 4365 $this->assertCount( 2 6, $properties );4365 $this->assertCount( 27, $properties ); 4366 4366 $this->assertArrayHasKey( 'author', $properties ); 4367 4367 $this->assertArrayHasKey( 'comment_status', $properties ); … … 4390 4390 $this->assertArrayHasKey( 'tags', $properties ); 4391 4391 $this->assertArrayHasKey( 'categories', $properties ); 4392 $this->assertArrayHasKey( 'class_list', $properties ); 4392 4393 } 4393 4394 … … 4419 4420 'author', 4420 4421 'categories', 4422 'class_list', 4421 4423 'comment_status', 4422 4424 'content', … … 4457 4459 'author', 4458 4460 'categories', 4461 'class_list', 4459 4462 'comment_status', 4460 4463 'content',
Note: See TracChangeset
for help on using the changeset viewer.