[HttpKernel] fixed failing test

This commit is contained in:
Fabien Potencier 2013-01-21 22:03:00 +01:00
parent 52124ebdc0
commit 696900e68f

View File

@ -72,10 +72,6 @@ class ErrorHandlerTest extends \PHPUnit_Framework_TestCase
$that = $this;
$warnArgCheck = function($message, $context) use ($that) {
$that->assertEquals('foo', $message);
$that->assertArrayHasKey('file', $context);
$that->assertEquals($context['file'], 'foo.php');
$that->assertArrayHasKey('line', $context);
$that->assertEquals($context['line'], 12);
$that->assertArrayHasKey('type', $context);
$that->assertEquals($context['type'], ErrorHandler::TYPE_DEPRECATION);
$that->assertArrayHasKey('stack', $context);