From c324ae7db2bc78abdae376df3b76f1f50576634a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 10 Oct 2021 11:03:34 +0200 Subject: [PATCH] unit tests and bug fixes --- tests/ControllerTestTemp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ControllerTestTemp.php b/tests/ControllerTestTemp.php index 899b763..0bb4835 100755 --- a/tests/ControllerTestTemp.php +++ b/tests/ControllerTestTemp.php @@ -48,7 +48,7 @@ class ControllerTest extends \PHPUnit\Framework\TestCase $this->app->dbPool = $GLOBALS['dbpool']; $this->app->orgId = 1; $this->app->accountManager = new AccountManager($GLOBALS['session']); - $this->app->appSettings = new CoreSettings($this->app->dbPool->get()); + $this->app->appSettings = new CoreSettings(); $this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules/'); $this->app->dispatcher = new Dispatcher($this->app); $this->app->eventManager = new EventManager($this->app->dispatcher);