front unit tests final amend
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Carlos Jimenez Ruiz 2021-06-23 14:21:48 +02:00
parent 2da72fc993
commit 6aae09f070
1 changed files with 2 additions and 2 deletions

View File

@ -72,9 +72,9 @@ describe('Client', () => {
jest.spyOn(controller.vnApp, 'showSuccess');
jest.spyOn(controller.vnReport, 'show');
controller.$params = {id: 101};
controller.$params = {id: 1101};
$httpBackend.expect('POST', `Clients/101/createReceipt`).respond({id: 1});
$httpBackend.expect('POST', `Clients/1101/createReceipt`).respond({id: 1});
controller.responseHandler('accept');
$httpBackend.flush();