fix test front
gitea/salix/dev There was a failure building this commit Details

This commit is contained in:
Bernat 2019-07-23 07:36:10 +02:00
parent 6a23a5429c
commit 16257e9918
1 changed files with 1 additions and 0 deletions

View File

@ -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('<vn-ticket-sale ticket="ticket"></vn-ticket-sale>')($scope);
controller = $element.controller('vnTicketSale');