Unit test fixes

This commit is contained in:
Dennis Eichhorn 2016-02-04 21:10:48 +01:00
parent a8a4b853df
commit 74fa459cd1
3 changed files with 5 additions and 5 deletions

View File

@ -111,10 +111,11 @@ class Installer extends InstallerAbstract
)ENGINE=InnoDB DEFAULT CHARSET=utf8;'
)->execute();
/*
$dbPool->get('core')->con->prepare(
'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`);'
)->execute();
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();*/
$dbPool->get('core')->con->prepare(
'CREATE TABLE if NOT EXISTS `' . $dbPool->get('core')->prefix . 'hr_planning_staff` (

View File

@ -15,8 +15,6 @@
*/
namespace Modules\HumanResourceManagement;
use Modules\Navigation\Models\Navigation;
use Modules\Navigation\Views\NavigationView;
use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\RequestAbstract;
use phpOMS\Message\RequestDestination;

View File

@ -16,7 +16,8 @@
"description": "Human Resources module.",
"directory": "HumanResourceManagement",
"dependencies": {
"Admin" : "1.0.0"
"Admin" : "1.0.0",
"Organization" : "1.0.0"
},
"providing": {
"Navigation": "*"