mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-22 11:23:59 +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.objectContaining({ method: "QUERY", name: "Query resources", url: "/resources" }),
|
||||
expect.objectContaining({ method: "COPY", name: "Copy resources", url: "/resources" }),
|
||||
expect.objectContaining({
|
||||
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