From 9176d693e05212cf7cac52c01d64bd257347418a 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/Controller/SearchControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Controller/SearchControllerTest.php b/tests/Controller/SearchControllerTest.php index c132856..89e3d56 100755 --- a/tests/Controller/SearchControllerTest.php +++ b/tests/Controller/SearchControllerTest.php @@ -57,7 +57,7 @@ class SearchControllerTest 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);