Skip to content

Commit a67031a

Browse files
authored
Merge pull request #76 from Codeception/fix-type-error-in-failed
Don't pass null to isBinaryData
2 parents 6575989 + 536ba47 commit a67031a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/REST.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public function _inject(InnerBrowser $connection)
180180

181181
public function _failed(TestInterface $test, $fail)
182182
{
183-
if ($this->response === '' || $this->response === '0') {
183+
if ($this->response === null || $this->response === '' || $this->response === '0') {
184184
return;
185185
}
186186

0 commit comments

Comments
 (0)