remove unnecessary Di::app() all

This commit is contained in:
Art4 2024-12-18 19:57:00 +00:00
parent e16d9ace34
commit 1d441ab657

View file

@ -188,7 +188,7 @@ abstract class ApiTestCase extends FixtureTestCase
@include_once($addon_file_path); @include_once($addon_file_path);
if (function_exists($addon . '_install')) { if (function_exists($addon . '_install')) {
$func = $addon . '_install'; $func = $addon . '_install';
$func(DI::app()); $func();
} }
/** @var $config IManageConfigValues */ /** @var $config IManageConfigValues */