mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-28 14:17:25 +02:00
Align OpenAPI 3.2 URL expectations with base URL variables (#594)
This commit is contained in:
@@ -30,8 +30,16 @@ describe("importer-openapi", () => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
expect(imported?.resources.httpRequests).toEqual([
|
expect(imported?.resources.httpRequests).toEqual([
|
||||||
expect.objectContaining({ method: "QUERY", name: "Query resources", url: "/resources" }),
|
expect.objectContaining({
|
||||||
expect.objectContaining({ method: "COPY", name: "Copy resources", url: "/resources" }),
|
method: "QUERY",
|
||||||
|
name: "Query resources",
|
||||||
|
url: "${[baseUrl]}/resources",
|
||||||
|
}),
|
||||||
|
expect.objectContaining({
|
||||||
|
method: "COPY",
|
||||||
|
name: "Copy resources",
|
||||||
|
url: "${[baseUrl]}/resources",
|
||||||
|
}),
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user