77use HttpSoft \Message \ResponseFactory ;
88use LogicException ;
99use PHPUnit \Framework \TestCase ;
10- use Psr \Log \NullLogger ;
1110use Yiisoft \ErrorHandler \ErrorHandler ;
1211use Yiisoft \ErrorHandler \HeadersProvider ;
1312use Yiisoft \ErrorHandler \Renderer \PlainTextRenderer ;
@@ -35,9 +34,9 @@ public function testBase(): void
3534 );
3635
3736 $ response = $ action ->handle (
38- TestHelper::createRequest (),
39- new LogicException ('test message ' )
40- );
37+ TestHelper::createRequest (),
38+ new LogicException ('test message ' )
39+ );
4140
4241 assertSame (500 , $ response ->getStatusCode ());
4342 assertSame (ThrowableRendererInterface::DEFAULT_ERROR_MESSAGE , TestHelper::getResponseContent ($ response ));
@@ -57,9 +56,9 @@ public function testHeaders(): void
5756 );
5857
5958 $ response = $ action ->handle (
60- TestHelper::createRequest (),
61- new LogicException ('test message ' )
62- );
59+ TestHelper::createRequest (),
60+ new LogicException ('test message ' )
61+ );
6362
6463 assertTrue ($ response ->hasHeader ('X-Test ' ));
6564 assertSame ('on ' , $ response ->getHeaderLine ('X-Test ' ));
0 commit comments