karma reparado

This commit is contained in:
Javi Gallego 2019-02-15 13:13:23 +01:00
parent 4f851c9eed
commit 8bea3afbfb
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ describe('Ticket', () => {
$state.params.id = 1;
controller = $componentController('vnTicketSaleEditDiscount', {$scope, $state});
controller._edit = [{id: 3, discount: 15}];
controller.hide = () => {};
controller.onHide = () => {};
}));
describe('edit() setter', () => {