1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: api tests

This commit is contained in:
Ferdinand Mütsch 2021-12-16 00:18:29 +01:00
parent af0d2e84e1
commit 4e7322c985

View File

@ -1,6 +1,6 @@
{ {
"info": { "info": {
"_postman_id": "da93a75e-e931-4f00-80b8-428f0e7ae824", "_postman_id": "a7f72e0a-a32e-4ec4-bf60-9915ba0acbd3",
"name": "Wakapi API Tests", "name": "Wakapi API Tests",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
}, },
@ -2520,7 +2520,7 @@
"});", "});",
"", "",
"pm.test(\"Body contains string\", function () {", "pm.test(\"Body contains string\", function () {",
" pm.expect(pm.response.text()).to.include(\"Showing a total of\");", " pm.expect(pm.response.text()).to.include(\"Total Time\");",
"});" "});"
], ],
"type": "text/javascript" "type": "text/javascript"
@ -2805,7 +2805,7 @@
"});", "});",
"", "",
"pm.test(\"Body contains string\", function () {", "pm.test(\"Body contains string\", function () {",
" pm.expect(pm.response.text()).to.include(\"Showing a total of\");", " pm.expect(pm.response.text()).to.include(\"Total Time\");",
"});" "});"
], ],
"type": "text/javascript" "type": "text/javascript"