diff --git a/client/item/src/tax/index.spec.js b/client/item/src/tax/index.spec.js index 6691211d5..30579a2a8 100644 --- a/client/item/src/tax/index.spec.js +++ b/client/item/src/tax/index.spec.js @@ -58,8 +58,8 @@ describe('Item', () => { controller.$onInit(); $httpBackend.flush(); - $httpBackend.when('POST', `/item/api/Items/1/updateTaxes`).respond('ok'); - $httpBackend.expect('POST', `/item/api/Items/1/updateTaxes`); + $httpBackend.when('POST', `/item/api/Items/updateTaxes`).respond('ok'); + $httpBackend.expect('POST', `/item/api/Items/updateTaxes`); controller.submit(); $httpBackend.flush();