This commit is contained in:
Carlos Jimenez Ruiz 2019-02-15 13:19:21 +01:00
commit d6a8cd68d4
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', () => {