Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62808e4 commit 0cbe1e0Copy full SHA for 0cbe1e0
src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
@@ -71,8 +71,8 @@ public function testHandleWhenControllerThrowsAnExceptionAndCatchIsTrueWithANonH
71
try {
72
$kernel->handle(new Request(), HttpKernelInterface::MASTER_REQUEST, true);
73
$this->fail('LogicException expected');
74
- } catch (\LogicException $e) {
75
- $this->assertSame($exception, $e->getPrevious());
+ } catch (\RuntimeException $e) {
+ $this->assertSame($exception, $e);
76
}
77
78
0 commit comments