Skip to content

Commit

Permalink
Remove log output from PHPUnit output
Browse files Browse the repository at this point in the history
These tests aren't testing the log output, so they just clutter up the
PHPUnit output for no reason.
  • Loading branch information
akrabat committed Nov 6, 2022
1 parent 3abf742 commit c0bc6a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Handlers/ErrorHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ public function testOptions()
$exception->setAllowedMethods(['POST', 'PUT']);

/** @var ResponseInterface $res */
$res = $handler->__invoke($request, $exception, true, true, true);
$res = $handler->__invoke($request, $exception, true, false, true);

$this->assertSame(200, $res->getStatusCode());
$this->assertTrue($res->hasHeader('Allow'));
Expand Down Expand Up @@ -367,7 +367,7 @@ public function testDefaultErrorRenderer()
$exception = new RuntimeException();

/** @var ResponseInterface $res */
$res = $handler->__invoke($request, $exception, true, true, true);
$res = $handler->__invoke($request, $exception, true, false, true);

$this->assertTrue($res->hasHeader('Content-Type'));
$this->assertSame('text/html', $res->getHeaderLine('Content-Type'));
Expand Down

0 comments on commit c0bc6a5

Please sign in to comment.