From 1d441ab657c42c3ef5b0c882daef9dc4d3018837 Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 18 Dec 2024 19:57:00 +0000 Subject: [PATCH] remove unnecessary Di::app() all --- tests/ApiTestCase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ApiTestCase.php b/tests/ApiTestCase.php index a9c04249c2..bcf916abed 100644 --- a/tests/ApiTestCase.php +++ b/tests/ApiTestCase.php @@ -188,7 +188,7 @@ abstract class ApiTestCase extends FixtureTestCase @include_once($addon_file_path); if (function_exists($addon . '_install')) { $func = $addon . '_install'; - $func(DI::app()); + $func(); } /** @var $config IManageConfigValues */