mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
Remove get_app() in favor of DI::app()
This commit is contained in:
parent
5d20cd7e16
commit
f0eea6f875
26 changed files with 110 additions and 97 deletions
|
@ -1383,7 +1383,7 @@ class ApiTest extends DatabaseTest
|
|||
'type' => 'image/png'
|
||||
]
|
||||
];
|
||||
$app = \get_app();
|
||||
$app = DI::app();
|
||||
$app->argc = 2;
|
||||
|
||||
$result = api_media_upload();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue