diff --git a/script/ci/Tarkov.dev.postman_collection.json b/script/ci/Tarkov.dev.postman_collection.json index d2d43f06..d4002a87 100644 --- a/script/ci/Tarkov.dev.postman_collection.json +++ b/script/ci/Tarkov.dev.postman_collection.json @@ -205,6 +205,38 @@ " pm.expect(pm.response.text()).to.not.include(\"errors\");\r", "});\r", "\r", + "pm.test(\"correct id type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].id).to.be.a(\"string\");\r", + "});\r", + "\r", + "pm.test(\"correct id type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].id).to.be.a(\"string\");\r", + "});\r", + "\r", + "pm.test(\"correct giver type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].giver.name).to.be.a(\"string\");\r", + "});\r", + "\r", + "pm.test(\"correct turnin type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].turnin.name).to.be.a(\"string\");\r", + "});\r", + "\r", + "pm.test(\"correct title type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].title).to.be.a(\"string\");\r", + "});\r", + "\r", + "pm.test(\"correct wikiLink match\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].wikiLink).to.include(\"https://\");;\r", + "});\r", + "\r", + "pm.test(\"correct exp type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].exp).to.be.a(\"number\");\r", + "});\r", + "\r", + "pm.test(\"correct unlocks type\", function () {\r", + " pm.expect(pm.response.json().data.quests[0].unlocks).to.be.a(\"array\");\r", + "});\r", + "\r", "" ], "type": "text/javascript"