- Timestamp:
- 10/11/2018 10:24:51 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.0/tests/phpunit/tests/rest-api/rest-pages-controller.php
r43445 r43720 526 526 $data = $response->get_data(); 527 527 $properties = $data['schema']['properties']; 528 $this->assertEquals( 2 2, count( $properties ) );528 $this->assertEquals( 24, count( $properties ) ); 529 529 $this->assertArrayHasKey( 'author', $properties ); 530 530 $this->assertArrayHasKey( 'comment_status', $properties ); … … 532 532 $this->assertArrayHasKey( 'date', $properties ); 533 533 $this->assertArrayHasKey( 'date_gmt', $properties ); 534 $this->assertArrayHasKey( 'generated_slug', $properties ); 534 535 $this->assertArrayHasKey( 'guid', $properties ); 535 536 $this->assertArrayHasKey( 'excerpt', $properties ); … … 543 544 $this->assertArrayHasKey( 'parent', $properties ); 544 545 $this->assertArrayHasKey( 'password', $properties ); 546 $this->assertArrayHasKey( 'permalink_template', $properties ); 545 547 $this->assertArrayHasKey( 'ping_status', $properties ); 546 548 $this->assertArrayHasKey( 'slug', $properties );
Note: See TracChangeset
for help on using the changeset viewer.