From 1beeccef7ac7a723a73a05963b842e502199ae1e Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 22 Nov 2024 11:17:47 +0100 Subject: [PATCH] fix: refs #7229 test --- test/vitest/__tests__/composables/downloadFile.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/vitest/__tests__/composables/downloadFile.spec.js b/test/vitest/__tests__/composables/downloadFile.spec.js index 8d480fcef..f53b56b3e 100644 --- a/test/vitest/__tests__/composables/downloadFile.spec.js +++ b/test/vitest/__tests__/composables/downloadFile.spec.js @@ -29,7 +29,7 @@ describe('downloadFile', () => { await downloadFile(1); expect(axios.get).toHaveBeenCalledWith( - `${baseUrl}/dms/1/downloadFile?access_token=${token}`, + `${baseUrl}/api/dms/1/downloadFile?access_token=${token}`, { responseType: 'blob' } ); });