mirror of
https://github.com/Karaka-Management/oms-HumanResourceManagement.git
synced 2026-02-13 03:18:41 +00:00
Unit test fixes
This commit is contained in:
parent
a8a4b853df
commit
74fa459cd1
|
|
@ -111,10 +111,11 @@ class Installer extends InstallerAbstract
|
||||||
)ENGINE=InnoDB DEFAULT CHARSET=utf8;'
|
)ENGINE=InnoDB DEFAULT CHARSET=utf8;'
|
||||||
)->execute();
|
)->execute();
|
||||||
|
|
||||||
|
/*
|
||||||
$dbPool->get('core')->con->prepare(
|
$dbPool->get('core')->con->prepare(
|
||||||
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'hr_planning_shift`
|
'ALTER TABLE `' . $dbPool->get('core')->prefix . 'hr_planning_shift`
|
||||||
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'hr_planning_shift_ibfk_1` FOREIGN KEY (`department`) REFERENCES `' . $dbPool->get('core')->prefix . 'business_department` (`business_department_id`);'
|
ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'hr_planning_shift_ibfk_1` FOREIGN KEY (`department`) REFERENCES `' . $dbPool->get('core')->prefix . 'organization_department` (`organization_department_id`);'
|
||||||
)->execute();
|
)->execute();*/
|
||||||
|
|
||||||
$dbPool->get('core')->con->prepare(
|
$dbPool->get('core')->con->prepare(
|
||||||
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'hr_planning_staff` (
|
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'hr_planning_staff` (
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@
|
||||||
*/
|
*/
|
||||||
namespace Modules\HumanResourceManagement;
|
namespace Modules\HumanResourceManagement;
|
||||||
|
|
||||||
use Modules\Navigation\Models\Navigation;
|
|
||||||
use Modules\Navigation\Views\NavigationView;
|
|
||||||
use phpOMS\Contract\RenderableInterface;
|
use phpOMS\Contract\RenderableInterface;
|
||||||
use phpOMS\Message\RequestAbstract;
|
use phpOMS\Message\RequestAbstract;
|
||||||
use phpOMS\Message\RequestDestination;
|
use phpOMS\Message\RequestDestination;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,8 @@
|
||||||
"description": "Human Resources module.",
|
"description": "Human Resources module.",
|
||||||
"directory": "HumanResourceManagement",
|
"directory": "HumanResourceManagement",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"Admin" : "1.0.0"
|
"Admin" : "1.0.0",
|
||||||
|
"Organization" : "1.0.0"
|
||||||
},
|
},
|
||||||
"providing": {
|
"providing": {
|
||||||
"Navigation": "*"
|
"Navigation": "*"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user