Skip to content

Commit

Permalink
Tidy up PHPUnit output
Browse files Browse the repository at this point in the history
Don't output the tip to the log.
  • Loading branch information
akrabat committed Nov 6, 2022
1 parent 29e3678 commit 3abf742
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Handlers/ErrorHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@ public function testLogErrorRenderer()
$handler = new ErrorHandler($callableResolverProphecy->reveal(), $this->getResponseFactory());
$handler->setLogErrorRenderer('logErrorRenderer');

$displayErrorDetailsProperty = new ReflectionProperty($handler, 'displayErrorDetails');
$displayErrorDetailsProperty->setAccessible(true);
$displayErrorDetailsProperty->setValue($handler, true);

$exception = new RuntimeException();
$exceptionProperty = new ReflectionProperty($handler, 'exception');
$exceptionProperty->setAccessible(true);
Expand Down

0 comments on commit 3abf742

Please sign in to comment.