From a090861e2eed8257200037512114a57b23f546c9 Mon Sep 17 00:00:00 2001 From: Awilum Date: Thu, 23 Sep 2021 10:44:34 +0300 Subject: [PATCH] feat(tests): update postman collection --- tests/postman/collection.json | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/tests/postman/collection.json b/tests/postman/collection.json index be33a801..01bb3dbd 100644 --- a/tests/postman/collection.json +++ b/tests/postman/collection.json @@ -129,7 +129,7 @@ } } }, - "url": "{{base_url}}/api/entries" + "url": "{{base_url}}/api/v0/entries" }, "response": [] }, @@ -148,7 +148,7 @@ } } }, - "url": "{{base_url}}/api/content/copy" + "url": "{{base_url}}/api/v0/content/copy" }, "response": [] }, @@ -167,7 +167,7 @@ } } }, - "url": "{{base_url}}/api/content" + "url": "{{base_url}}/api/v0/content" }, "response": [] } @@ -185,6 +185,8 @@ "script": { "type": "text/javascript", "exec": [ + "", + "", "pm.test(\"Status code is 200\", function () {", " pm.response.to.have.status(200);", "});" @@ -197,18 +199,19 @@ "method": "GET", "header": [], "url": { - "raw": "{{base_url}}/api/registry?name={{registry_item_name}}&token={{token}}", + "raw": "{{base_url}}/api/v0/registry?key={{registry_item_key}}&token={{token}}", "host": [ "{{base_url}}" ], "path": [ "api", + "v0", "registry" ], "query": [ { - "key": "name", - "value": "{{registry_item_name}}" + "key": "key", + "value": "{{registry_item_key}}" }, { "key": "token",