mirror of
https://github.com/friendica/friendica
synced 2025-04-28 14:24:23 +02:00
Add newly required constructor parameter to BaseApi-related tests
This commit is contained in:
parent
1b9ec3a214
commit
5d428ac8af
37 changed files with 85 additions and 85 deletions
|
@ -35,7 +35,7 @@ class UpdateProfileTest extends ApiTest
|
|||
{
|
||||
$this->useHttpMethod(Router::POST);
|
||||
|
||||
$response = (new UpdateProfile(DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), [], ['extension' => 'json']))
|
||||
$response = (new UpdateProfile(DI::mstdnError(), DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), [], ['extension' => 'json']))
|
||||
->run($this->httpExceptionMock, [
|
||||
'name' => 'new_name',
|
||||
'description' => 'new_description'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue