mirror of
https://github.com/friendica/friendica
synced 2025-01-24 10:19:48 +00:00
Merge pull request #12636 from MrPetovan/bug/12625-api-not-implemented
Update API unsupported test
This commit is contained in:
commit
1f0eae998e
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class ApiResponseTest extends MockedTest
|
||||||
$response = new ApiResponse($l10n, $args, new NullLogger(), $baseUrl, $twitterUser);
|
$response = new ApiResponse($l10n, $args, new NullLogger(), $baseUrl, $twitterUser);
|
||||||
$response->unsupported();
|
$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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue