mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Replace DI::app() with DI::appHelper() in more tests
This commit is contained in:
parent
b2a383a9cb
commit
ba65cad1cd
31 changed files with 56 additions and 56 deletions
|
@ -24,7 +24,7 @@ class ShowTest extends ApiTestCase
|
|||
$this->expectException(BadRequestException::class);
|
||||
|
||||
|
||||
(new Show(DI::mstdnError(), DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
|
||||
(new Show(DI::mstdnError(), DI::appHelper(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
|
||||
->run($this->httpExceptionMock);
|
||||
}
|
||||
|
||||
|
@ -35,7 +35,7 @@ class ShowTest extends ApiTestCase
|
|||
*/
|
||||
public function testApiStatusesShowWithId()
|
||||
{
|
||||
$response = (new Show(DI::mstdnError(), DI::app(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
|
||||
$response = (new Show(DI::mstdnError(), DI::appHelper(), DI::l10n(), DI::baseUrl(), DI::args(), DI::logger(), DI::profiler(), DI::apiResponse(), []))
|
||||
->run($this->httpExceptionMock, [
|
||||
'id' => 1
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue