mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-08 18:49:26 +03:00
Remove scope hack since 2.3 has been fixed
This commit is contained in:
parent
3e8b896d00
commit
00bcdc927e
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user