Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 96fefac

Browse files
committed
Remove dead code
1 parent 8ddaaaa commit 96fefac

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Symfony/Component/HttpKernel/Tests/HttpKernelTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ public function testHandleWhenControllerThrowsAThrowableAndCatchIsFalseWithAHand
110110

111111
$kernel = $this->getHttpKernel($dispatcher, function () { throw new \TypeError('foo'); });
112112
$this->expectException(\TypeError::class);
113-
$response = $kernel->handle(new Request(), HttpKernelInterface::MAIN_REQUEST, false);
114-
$this->assertEquals('foo', $response->getContent());
113+
$kernel->handle(new Request(), HttpKernelInterface::MAIN_REQUEST, false);
115114
}
116115

117116
/**

0 commit comments

Comments
 (0)