Replace DI::app() with DI::appHelper() in more tests

This commit is contained in:
Art4 2024-12-18 21:06:55 +00:00
parent b2a383a9cb
commit ba65cad1cd
31 changed files with 56 additions and 56 deletions

View file

@ -20,7 +20,7 @@ class IncomingTest extends ApiTestCase
*/
public function testApiFriendshipsIncoming()
{
$response = (new Incoming(DI::mstdnError(), DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
$response = (new Incoming(DI::mstdnError(), DI::appHelper(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
->run($this->httpExceptionMock);
$json = $this->toJson($response);