Skip to content

Commit

Permalink
Merge pull request #16642 from srmkliveforks/5.3
Browse files Browse the repository at this point in the history
[5.3] Fix seeJsonStructure for empty response
  • Loading branch information
taylorotwell authored Dec 4, 2016
2 parents 187ab7b + 6ea6e22 commit 8d634ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public function seeJsonStructure(array $structure = null, $responseData = null)
return $this->seeJson();
}

if (! $responseData) {
if (is_null($responseData)) {
$responseData = $this->decodeResponseJson();
}

Expand Down

0 comments on commit 8d634ef

Please sign in to comment.