mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-05 16:08:41 +00:00
add tests
This commit is contained in:
parent
d2ac3d5c96
commit
d4241c68dc
|
|
@ -44,7 +44,6 @@ class ControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
|
|
||||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||||
$this->app->orgId = 1;
|
$this->app->orgId = 1;
|
||||||
$this->app->appName = 'Backend';
|
|
||||||
$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');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user