diff --git a/tests/unit/specs/store/modules/indexing.spec.js b/tests/unit/specs/store/modules/indexing.spec.js index 47af9684e9..0d289fc0e9 100644 --- a/tests/unit/specs/store/modules/indexing.spec.js +++ b/tests/unit/specs/store/modules/indexing.spec.js @@ -139,7 +139,7 @@ describe('IndexingStore', () => { expect(mockAxios.request).toBeCalledTimes(1) expect(mockAxios.request).toBeCalledWith( expect.objectContaining({ - url: Api.getFullUrl(`/api/project/${project}`), + url: Api.getFullUrl(`/api/project/`), method: 'DELETE' }) )