From ba4015474494e0b47d097cc5bdec555c00be3b27 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 18 May 2024 13:28:33 +0000 Subject: [PATCH] fix languages --- tests/Controller/ApiControllerTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Controller/ApiControllerTest.php b/tests/Controller/ApiControllerTest.php index 7170d45..164da5f 100755 --- a/tests/Controller/ApiControllerTest.php +++ b/tests/Controller/ApiControllerTest.php @@ -22,6 +22,7 @@ use phpOMS\Account\Account; use phpOMS\Account\AccountManager; use phpOMS\Account\PermissionType; use phpOMS\Application\ApplicationAbstract; +use phpOMS\DataStorage\Cache\CachePool; use phpOMS\Dispatcher\Dispatcher; use phpOMS\Event\EventManager; use phpOMS\Localization\L11nManager; @@ -66,6 +67,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase $this->app->dispatcher = new Dispatcher($this->app); $this->app->eventManager = new EventManager($this->app->dispatcher); $this->app->l11nManager = new L11nManager(); + $this->app->cachePool = new CachePool(); $this->app->eventManager->importFromFile(__DIR__ . '/../../../../Web/Api/Hooks.php'); $account = new Account();