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.
There was an error while loading. Please reload this page.
1 parent 8ddaaaa commit 96fefacCopy full SHA for 96fefac
src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php
@@ -110,8 +110,7 @@ public function testHandleWhenControllerThrowsAThrowableAndCatchIsFalseWithAHand
110
111
$kernel = $this->getHttpKernel($dispatcher, function () { throw new \TypeError('foo'); });
112
$this->expectException(\TypeError::class);
113
- $response = $kernel->handle(new Request(), HttpKernelInterface::MAIN_REQUEST, false);
114
- $this->assertEquals('foo', $response->getContent());
+ $kernel->handle(new Request(), HttpKernelInterface::MAIN_REQUEST, false);
115
}
116
117
/**
0 commit comments