From 00bcdc927eee53e645e66fe00d23a92f46cac1c3 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 10 May 2013 10:34:21 +0200 Subject: [PATCH] Remove scope hack since 2.3 has been fixed --- Tests/WebTestCase.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Tests/WebTestCase.php b/Tests/WebTestCase.php index b2cd8ce..e0d58d6 100644 --- a/Tests/WebTestCase.php +++ b/Tests/WebTestCase.php @@ -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()