refs #5688 fix: front test
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-06-28 13:27:18 +02:00
parent da50ea1dd0
commit 6894da7e22
1 changed files with 2 additions and 4 deletions

View File

@ -16,10 +16,8 @@ describe('Component vnWorkerTimeControl', () => {
$scope = $rootScope.$new();
$element = angular.element('<vn-worker-time-control></vn-worker-time-control>');
controller = $componentController('vnWorkerTimeControl', {$element, $scope});
controller.card = {
worker: {
hasWorkerCenter: true
}
controller.worker = {
hasWorkerCenter: true
};
}));