]> git.mxchange.org Git - friendica.git/commitdiff
Fix test
authorMichael <heluecht@pirati.ca>
Sun, 8 Jan 2023 10:00:25 +0000 (10:00 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 8 Jan 2023 10:00:25 +0000 (10:00 +0000)
tests/src/Module/Api/ApiResponseTest.php

index 81636fe10570a40d0efe5c78dda73ddbc1dc698f..2defaf995c0506366f1b4640d12e51b452384653 100644 (file)
@@ -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());
        }
 
        /**