diff --git a/modules/entry/front/buy/import/index.spec.js b/modules/entry/front/buy/import/index.spec.js index 7a7cca12b..e7428e8be 100644 --- a/modules/entry/front/buy/import/index.spec.js +++ b/modules/entry/front/buy/import/index.spec.js @@ -85,7 +85,7 @@ describe('Entry', () => { ]; const serializedParams = $httpParamSerializer({buys}); - const query = `Entries/1/importPreview?${serializedParams}`; + const query = `Entries/1/importBuysPreview?${serializedParams}`; $httpBackend.expectGET(query).respond(200, buys); controller.fetchBuys(buys); $httpBackend.flush(); @@ -111,7 +111,7 @@ describe('Entry', () => { }; const params = controller.import; - const query = `Entries/1/import`; + const query = `Entries/1/importBuys`; $httpBackend.expectPOST(query, params).respond(200, params.buys); controller.onSubmit(); $httpBackend.flush();