fix tests

This commit is contained in:
Dennis Eichhorn 2020-11-28 19:26:39 +01:00
parent 5e03b75519
commit b4fc3c3ac0

View File

@ -60,7 +60,7 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase
$this->app->orgId = 1;
$this->app->accountManager = new AccountManager($GLOBALS['session']);
$this->app->appSettings = new CoreSettings($this->app->dbPool->get());
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules');
$this->app->moduleManager = new ModuleManager($this->app, __DIR__ . '/../../../Modules/');
$this->app->dispatcher = new Dispatcher($this->app);
$this->app->eventManager = new EventManager($this->app->dispatcher);
$this->app->eventManager->importFromFile(__DIR__ . '/../../../Web/Api/Hooks.php');