mirror of
https://github.com/Karaka-Management/oms-Admin.git
synced 2026-02-16 04:28:39 +00:00
add tests
This commit is contained in:
parent
e575194a2b
commit
25fd465ace
|
|
@ -56,7 +56,6 @@ class ApiControllerTest 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