mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-11-13 12:13:42 +01:00
Align OpenAPI 3.2 URL expectations with base URL variables (#594)
This commit is contained in:
1 parent
df1fd864b2
commit
3332ae263f
1 file changed
+10
-2
@@ -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