This commit is contained in:
parent
da50ea1dd0
commit
6894da7e22
|
@ -16,10 +16,8 @@ describe('Component vnWorkerTimeControl', () => {
|
||||||
$scope = $rootScope.$new();
|
$scope = $rootScope.$new();
|
||||||
$element = angular.element('<vn-worker-time-control></vn-worker-time-control>');
|
$element = angular.element('<vn-worker-time-control></vn-worker-time-control>');
|
||||||
controller = $componentController('vnWorkerTimeControl', {$element, $scope});
|
controller = $componentController('vnWorkerTimeControl', {$element, $scope});
|
||||||
controller.card = {
|
controller.worker = {
|
||||||
worker: {
|
hasWorkerCenter: true
|
||||||
hasWorkerCenter: true
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in New Issue