Skip to content

Commit

Permalink
Outputs json decode error
Browse files Browse the repository at this point in the history
  • Loading branch information
artstorm committed Jul 22, 2015
1 parent 43888ec commit 2374973
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/tests/integration/ExceptionTest.php
Expand Up @@ -61,8 +61,9 @@ public function testFatalError()
$response = $e->getResponse();

var_dump('------------');
var_dump((string) $response->getBody());
print_r((string) $response->getBody());
$object = json_decode((string) $response->getBody());
var_dump(json_last_error());
var_dump($object);
var_dump('------------');

Expand Down

0 comments on commit 2374973

Please sign in to comment.