Remove scope hack since 2.3 has been fixed

This commit is contained in:
Jordi Boggiano 2013-05-10 10:34:21 +02:00
parent 3e8b896d00
commit 00bcdc927e

View File

@ -44,14 +44,7 @@ abstract class WebTestCase extends BaseWebTestCase
}
static::$kernel->boot();
$container = static::$kernel->getContainer();
// add request scope if not created (for forward compat with sf2.3)
if (!$container->hasScope('request')) {
$container->addScope(new Scope('request'));
}
return $container;
return static::$kernel->getContainer();
}
protected static function getKernelClass()