From 536ba472f0dcd442cc30465af0741b178208a108 Mon Sep 17 00:00:00 2001 From: Gintautas Miselis Date: Sun, 20 Feb 2022 18:25:03 +0200 Subject: [PATCH] Don't pass null to isBinaryData --- src/Codeception/Module/REST.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Codeception/Module/REST.php b/src/Codeception/Module/REST.php index 8a54abb..4c31898 100644 --- a/src/Codeception/Module/REST.php +++ b/src/Codeception/Module/REST.php @@ -180,7 +180,7 @@ public function _inject(InnerBrowser $connection) public function _failed(TestInterface $test, $fail) { - if ($this->response === '' || $this->response === '0') { + if ($this->response === null || $this->response === '' || $this->response === '0') { return; }