Skip to content

Commit

Permalink
changed print_r to var_export in REST Fixes #1210
Browse files Browse the repository at this point in the history
  • Loading branch information
DavertMik committed Aug 1, 2014
1 parent 3e49f57 commit 68bc1e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Codeception/Module/REST.php
Original file line number Diff line number Diff line change
Expand Up @@ -495,8 +495,8 @@ public function seeResponseContainsJson($json = array())
\PHPUnit_Framework_Assert::assertTrue(
$this->arrayHasArray($json, $resp_json),
"Response JSON contains provided\n"
."- ".print_r($json, true)
."+ ".print_r($resp_json, true)
."- ".var_export($json, true)
."+ ".var_export($resp_json, true)
);
}

Expand Down

0 comments on commit 68bc1e3

Please sign in to comment.