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
+7 -7
View File
@@ -47,7 +47,7 @@ async function resizeAndMeta(
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -80,7 +80,7 @@ describe("Resize", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -165,7 +165,7 @@ describe("Resize", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -198,7 +198,7 @@ describe("Resize", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -219,7 +219,7 @@ describe("Resize", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -243,7 +243,7 @@ describe("Resize", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: {
authorization: `Bearer ${adminToken}`,
"content-type": contentType,
@@ -264,7 +264,7 @@ describe("Resize", () => {
const res = await app.inject({
method: "POST",
url: "/api/v1/tools/resize",
url: "/api/v1/tools/image/resize",
headers: { "content-type": contentType },
body,
});