mirror of
https://github.com/Karaka-Management/oms-ContractManagement.git
synced 2026-02-15 09:58:41 +00:00
org -> unit change, some new functionality
This commit is contained in:
parent
e7998b35f3
commit
cf4cec9836
|
|
@ -118,8 +118,8 @@
|
||||||
"type": "INT",
|
"type": "INT",
|
||||||
"null": true,
|
"null": true,
|
||||||
"default": null,
|
"default": null,
|
||||||
"foreignTable": "organization_unit",
|
"foreignTable": "unit",
|
||||||
"foreignKey": "organization_unit_id"
|
"foreignKey": "unit_id"
|
||||||
},
|
},
|
||||||
"contractmgmt_contract_responsible": {
|
"contractmgmt_contract_responsible": {
|
||||||
"name": "contractmgmt_contract_responsible",
|
"name": "contractmgmt_contract_responsible",
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
};
|
};
|
||||||
|
|
||||||
$this->app->dbPool = $GLOBALS['dbpool'];
|
$this->app->dbPool = $GLOBALS['dbpool'];
|
||||||
$this->app->orgId = 1;
|
$this->app->unitId = 1;
|
||||||
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
$this->app->accountManager = new AccountManager($GLOBALS['session']);
|
||||||
$this->app->appSettings = new CoreSettings();
|
$this->app->appSettings = new CoreSettings();
|
||||||
$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