mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-08-24 12:24:01 +02:00
test(openapi): align 3.2 URLs with base variable
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