test: allow empty isalive wrapper body

This commit is contained in:
Meik
2026-07-01 15:00:08 +02:00
parent c95a6c1145
commit 5ba8d23bcc

View File

@@ -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());",
"});" "});"
] ]
} }