fix test front
gitea/salix/dev There was a failure building this commit
Details
gitea/salix/dev There was a failure building this commit
Details
This commit is contained in:
parent
6a23a5429c
commit
16257e9918
|
@ -47,6 +47,7 @@ describe('Ticket', () => {
|
||||||
$httpBackend.whenGET(/api\/Tickets\/1\/getSales.*/).respond(sales);
|
$httpBackend.whenGET(/api\/Tickets\/1\/getSales.*/).respond(sales);
|
||||||
$httpBackend.whenGET(`/api/Tickets/1/getVAT`).respond(200, 10.5);
|
$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/subtotal`).respond(200, 227.5);
|
||||||
|
$httpBackend.whenGET(`/api/Tickets/1/isEditable`).respond();
|
||||||
|
|
||||||
$element = $compile('<vn-ticket-sale ticket="ticket"></vn-ticket-sale>')($scope);
|
$element = $compile('<vn-ticket-sale ticket="ticket"></vn-ticket-sale>')($scope);
|
||||||
controller = $element.controller('vnTicketSale');
|
controller = $element.controller('vnTicketSale');
|
||||||
|
|
Loading…
Reference in New Issue