From 0761afbbc9254fbfb04d86d495ab32cf185292f5 Mon Sep 17 00:00:00 2001 From: Timothy Jacobs Date: Tue, 17 Sep 2024 10:37:04 -0700 Subject: [PATCH] more face palming --- tests/phpunit/tests/rest-api/rest-server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/rest-api/rest-server.php b/tests/phpunit/tests/rest-api/rest-server.php index 1aa19b4815a41..c1b4e1b1eafa5 100644 --- a/tests/phpunit/tests/rest-api/rest-server.php +++ b/tests/phpunit/tests/rest-api/rest-server.php @@ -2466,7 +2466,7 @@ public function test_validates_request_when_building_target_hints() { $links = rest_get_server()::get_response_links( $response ); - $this->assertArrayHasKey( 'self', $links['self'] ); + $this->assertArrayHasKey( 'self', $links ); $this->assertArrayNotHasKey( 'targetHints', $links['self'][0] ); }