mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 17:46:42 +02:00
Replace IRespondToRequests with PSR-7 ResponseInterface
This commit is contained in:
parent
ca5c40c97e
commit
7cd85873ee
17 changed files with 96 additions and 92 deletions
|
@ -13,7 +13,7 @@ class SavedSearchesTest extends ApiTest
|
|||
$savedSearch = new SavedSearches(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), [], ['extension' => 'json']);
|
||||
$response = $savedSearch->run();
|
||||
|
||||
$result = json_decode($response->getContent());
|
||||
$result = json_decode($response->getBody());
|
||||
|
||||
self::assertEquals(1, $result[0]->id);
|
||||
self::assertEquals(1, $result[0]->id_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue