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:
@@ -46,7 +46,7 @@ describe("ocr-pdf", () => {
|
||||
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/ocr-pdf",
|
||||
url: "/api/v1/tools/pdf/ocr-pdf",
|
||||
headers: {
|
||||
authorization: `Bearer ${adminToken}`,
|
||||
"content-type": contentType,
|
||||
@@ -77,7 +77,7 @@ describe("ocr-pdf", () => {
|
||||
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/ocr-pdf",
|
||||
url: "/api/v1/tools/pdf/ocr-pdf",
|
||||
headers: { "content-type": contentType },
|
||||
body,
|
||||
});
|
||||
@@ -103,7 +103,7 @@ describe("ocr-pdf", () => {
|
||||
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/ocr-pdf",
|
||||
url: "/api/v1/tools/pdf/ocr-pdf",
|
||||
headers: {
|
||||
authorization: `Bearer ${adminToken}`,
|
||||
"content-type": contentType,
|
||||
@@ -139,7 +139,7 @@ describe("ocr-pdf", () => {
|
||||
|
||||
const res = await app.inject({
|
||||
method: "POST",
|
||||
url: "/api/v1/tools/ocr-pdf",
|
||||
url: "/api/v1/tools/pdf/ocr-pdf",
|
||||
headers: {
|
||||
authorization: `Bearer ${adminToken}`,
|
||||
"content-type": contentType,
|
||||
|
||||
Reference in New Issue
Block a user