From: Michael Date: Sun, 8 Jan 2023 10:00:25 +0000 (+0000) Subject: Fix test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c074da2b87d0fad82f403b4d2ca7fabc2dc91f89;p=friendica.git Fix test --- diff --git a/tests/src/Module/Api/ApiResponseTest.php b/tests/src/Module/Api/ApiResponseTest.php index 81636fe105..2defaf995c 100644 --- a/tests/src/Module/Api/ApiResponseTest.php +++ b/tests/src/Module/Api/ApiResponseTest.php @@ -130,7 +130,7 @@ class ApiResponseTest extends MockedTest $response = new ApiResponse($l10n, $args, new NullLogger(), $baseUrl, $twitterUser); $response->unsupported(); - self::assertEquals('{"error":"API endpoint %s %s is not implemented","error_description":"The API endpoint is currently not implemented but might be in the future."}', $response->getContent()); + self::assertEquals('{"error":"API endpoint %s %s is not implemented but might be in the future.","code":"501 Not Implemented","request":""}', $response->getContent()); } /**