- Timestamp:
- 10/08/2019 04:43:10 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php
r46280 r46434 1364 1364 $this->assertEquals( rest_url( '/wp/v2/posts/' . self::$post_id ), $links['self'][0]['href'] ); 1365 1365 $this->assertEquals( rest_url( '/wp/v2/posts' ), $links['collection'][0]['href'] ); 1366 $this->assertArrayNotHasKey( 'embeddable', $links['self'][0]['attributes'] ); 1366 1367 1367 1368 $this->assertEquals( rest_url( '/wp/v2/types/' . get_post_type( self::$post_id ) ), $links['about'][0]['href'] );
Note: See TracChangeset
for help on using the changeset viewer.