From 16257e991807b5f2cc35070cc6627430da8d0357 Mon Sep 17 00:00:00 2001 From: Bernat Date: Tue, 23 Jul 2019 07:36:10 +0200 Subject: [PATCH] fix test front --- modules/ticket/front/sale/specs/index.spec.js | 1 + 1 file changed, 1 insertion(+) 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');