Skip to content

Commit

Permalink
Fix PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Apr 21, 2023
1 parent da4cdb9 commit db39cdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function test_adds_links() {

$this->assertArrayHasKey( 'self', $links, 'Response should contain a "self" link.' );

$this->assertStringContainsString( 'wp/v2/navigation/' . $data['id'], $links['self'][0]['href'], 'Self link should reference the correct Navigation Menu post resource url.' );
$this->assertStringContainsString( 'wp/v2/navigation/' . $navigation_post_id, $links['self'][0]['href'], 'Self link should reference the correct Navigation Menu post resource url.' );

$this->assertTrue( $links['self'][0]['attributes']['embeddable'], 'Self link should be embeddable.' );
}
Expand Down

0 comments on commit db39cdb

Please sign in to comment.