mirror of
https://github.com/friendica/friendica
synced 2025-04-23 01:50:10 +00:00
Adapt API tests for dynamic usage
This commit is contained in:
parent
cca1be21a3
commit
d32f8e5285
8 changed files with 23 additions and 15 deletions
|
@ -10,7 +10,8 @@ class SavedSearchesTest extends ApiTest
|
|||
{
|
||||
public function test()
|
||||
{
|
||||
SavedSearches::rawContent(['extension' => 'json']);
|
||||
$savedSearch = new SavedSearches(['extension' => 'json']);
|
||||
$savedSearch->rawContent();
|
||||
|
||||
$result = json_decode(ApiResponseDouble::getOutput());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue