test repairs
gitea/salix/dev This commit has test failures Details

This commit is contained in:
Carlos Jimenez Ruiz 2019-04-23 09:08:28 +02:00
parent c2badeacd0
commit 5501ff8f4f
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ describe('Ticket Component vnTicketDescriptor', () => {
$httpBackend.when('POST', `/ticket/api/Tickets/2/makeInvoice`).respond(); $httpBackend.when('POST', `/ticket/api/Tickets/2/makeInvoice`).respond();
$httpBackend.expect('POST', `/ticket/api/Tickets/2/makeInvoice`).respond(); $httpBackend.expect('POST', `/ticket/api/Tickets/2/makeInvoice`).respond();
controller.invoiceMakeOut('ACCEPT'); controller.makeInvoiceOut('ACCEPT');
$httpBackend.flush(); $httpBackend.flush();
expect(controller.vnApp.showSuccess).toHaveBeenCalledWith('Ticket invoiced'); expect(controller.vnApp.showSuccess).toHaveBeenCalledWith('Ticket invoiced');