Merge branch '2.8'

* 2.8:
  Fix test
This commit is contained in:
Nicolas Grekas 2015-04-24 18:45:10 +02:00
commit f9efbd38d5

View File

@ -71,8 +71,8 @@ class HttpKernelTest extends \PHPUnit_Framework_TestCase
try {
$kernel->handle(new Request(), HttpKernelInterface::MASTER_REQUEST, true);
$this->fail('LogicException expected');
} catch (\LogicException $e) {
$this->assertSame($exception, $e->getPrevious());
} catch (\RuntimeException $e) {
$this->assertSame($exception, $e);
}
}