test: allow empty isalive wrapper body
This commit is contained in:
@@ -169,8 +169,8 @@
|
|||||||
"pm.test(\"isAlive returns 204\", function () {",
|
"pm.test(\"isAlive returns 204\", function () {",
|
||||||
" pm.response.to.have.status(204);",
|
" pm.response.to.have.status(204);",
|
||||||
"});",
|
"});",
|
||||||
"pm.test(\"No response body\", function () {",
|
"pm.test(\"No response body or empty Matrix42 wrapper body\", function () {",
|
||||||
" pm.expect(pm.response.text()).to.equal(\"\");",
|
" pm.expect([\"\", \"{}\"]).to.include(pm.response.text());",
|
||||||
"});"
|
"});"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user