mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-16 21:48:40 +00:00
fix tests
This commit is contained in:
parent
69eaae2e1a
commit
7b6d0d4320
|
|
@ -53,7 +53,7 @@ class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
$this->app->orgId = 1;
|
$this->app->orgId = 1;
|
||||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||||
$this->app->appSettings = new CoreSettings($this->app->dbPool->get());
|
$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->dispatcher = new Dispatcher($this->app);
|
||||||
$this->app->eventManager = new EventManager($this->app->dispatcher);
|
$this->app->eventManager = new EventManager($this->app->dispatcher);
|
||||||
$this->app->eventManager->importFromFile(__DIR__ . '/../../../../Web/Api/Hooks.php');
|
$this->app->eventManager->importFromFile(__DIR__ . '/../../../../Web/Api/Hooks.php');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user