diff --git a/modules/ticket/front/sale/specs/index.spec.js b/modules/ticket/front/sale/specs/index.spec.js index 938b4c252..4e97bee56 100644 --- a/modules/ticket/front/sale/specs/index.spec.js +++ b/modules/ticket/front/sale/specs/index.spec.js @@ -47,6 +47,7 @@ describe('Ticket', () => { $httpBackend.whenGET(/api\/Tickets\/1\/getSales.*/).respond(sales); $httpBackend.whenGET(`/api/Tickets/1/getVAT`).respond(200, 10.5); $httpBackend.whenGET(`/api/Tickets/1/subtotal`).respond(200, 227.5); + $httpBackend.whenGET(`/api/Tickets/1/isEditable`).respond(); $element = $compile('')($scope); controller = $element.controller('vnTicketSale');