diff --git a/modules/ticket/front/sale/editDiscount.spec.js b/modules/ticket/front/sale/editDiscount.spec.js index 70ca327f8..2fef13106 100644 --- a/modules/ticket/front/sale/editDiscount.spec.js +++ b/modules/ticket/front/sale/editDiscount.spec.js @@ -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', () => {