From 0cb183c1dfd2a568b66c3719bcb60f76f49b19f1 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 17 May 2024 19:45:05 +0000 Subject: [PATCH] fix injection NO_CI --- tests/Module/ModuleManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Module/ModuleManagerTest.php b/tests/Module/ModuleManagerTest.php index 378c9ba7a..5fe63c0f4 100755 --- a/tests/Module/ModuleManagerTest.php +++ b/tests/Module/ModuleManagerTest.php @@ -56,7 +56,7 @@ final class ModuleManagerTest extends \PHPUnit\Framework\TestCase $this->app->dbPool = $GLOBALS['dbpool']; $this->app->router = new WebRouter(); $this->app->dispatcher = new Dispatcher($this->app); - $this->app->appSettings = new CoreSettings($this->app->dbPool->get('admin')); + $this->app->appSettings = new CoreSettings(); $this->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules/'); }