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
@@ -57,7 +57,7 @@ async function runTool(settings: Record<string, unknown>) {
]);
return testApp.app.inject({
method: "POST",
url: "/api/v1/tools/remove-pages",
url: "/api/v1/tools/pdf/remove-pages",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body,
});
@@ -111,7 +111,7 @@ describe.skipIf(!qpdfAvailable())("remove-pages (requires qpdf)", () => {
]);
const res = await testApp.app.inject({
method: "POST",
url: "/api/v1/tools/remove-pages",
url: "/api/v1/tools/pdf/remove-pages",
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
body: reqBody,
});