From 8bea3afbfb76cbd2200fe4d1e666722618cd9300 Mon Sep 17 00:00:00 2001 From: jgallego Date: Fri, 15 Feb 2019 13:13:23 +0100 Subject: [PATCH] karma reparado --- modules/ticket/front/sale/editDiscount.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', () => {