test(api): section-prefix tool URLs across integration, docker, and e2e api specs

This commit is contained in:
SnapOtter
2026-06-20 12:24:50 +08:00
parent fc205c7428
commit f80444791b
213 changed files with 2868 additions and 2846 deletions
+2 -2
View File
@@ -31,7 +31,7 @@ async function runTool(filename: string, content: Buffer, settings: Record<strin
]);
return testApp.app.inject({
method: "POST",
url: "/api/v1/tools/convert-document",
url: "/api/v1/tools/files/convert-document",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -100,7 +100,7 @@ it("rejects missing format with 400", async () => {
]);
const res = await testApp.app.inject({
method: "POST",
url: "/api/v1/tools/convert-document",
url: "/api/v1/tools/files/convert-document",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});