Add a second parameter to BaseApi::getRequest to enable API tests

This commit is contained in:
Hypolite Petovan 2021-11-27 18:30:41 -05:00
parent d83ebe6031
commit 9cc675233d
40 changed files with 45 additions and 41 deletions

View file

@ -64,7 +64,7 @@ class Notifications extends BaseApi
'account_id' => 0, // Return only notifications received from this account
'with_muted' => false, // Pleroma extension: return activities by muted (not by blocked!) users.
'count' => 0, // Unknown parameter
]);
], $request);
$params = ['order' => ['id' => true]];