mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
test(api): section-prefix tool URLs across integration, docker, and e2e api specs
This commit is contained in:
@@ -27,7 +27,7 @@ describe.skipIf(!ffmpegAvailable())("split-audio (requires ffmpeg)", () => {
|
||||
]);
|
||||
const res = await testApp.app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/split-audio",
|
||||
url: "/api/v1/tools/audio/split-audio",
|
||||
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
|
||||
body,
|
||||
});
|
||||
@@ -53,7 +53,7 @@ describe.skipIf(!ffmpegAvailable())("split-audio (requires ffmpeg)", () => {
|
||||
]);
|
||||
const res = await testApp.app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/split-audio",
|
||||
url: "/api/v1/tools/audio/split-audio",
|
||||
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
|
||||
body,
|
||||
});
|
||||
@@ -78,7 +78,7 @@ describe.skipIf(!ffmpegAvailable())("split-audio (requires ffmpeg)", () => {
|
||||
]);
|
||||
const res = await testApp.app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/split-audio",
|
||||
url: "/api/v1/tools/audio/split-audio",
|
||||
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
|
||||
body,
|
||||
});
|
||||
@@ -95,7 +95,7 @@ describe.skipIf(!ffmpegAvailable())("split-audio (requires ffmpeg)", () => {
|
||||
]);
|
||||
const res = await testApp.app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/split-audio",
|
||||
url: "/api/v1/tools/audio/split-audio",
|
||||
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
|
||||
body,
|
||||
});
|
||||
@@ -116,7 +116,7 @@ describe.skipIf(!ffmpegAvailable())("split-audio (requires ffmpeg)", () => {
|
||||
]);
|
||||
const res = await testApp.app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/split-audio",
|
||||
url: "/api/v1/tools/audio/split-audio",
|
||||
headers: { authorization: `Bearer ${adminToken}`, "content-type": contentType },
|
||||
body,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user