mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +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();
|
static::$kernel->boot();
|
||||||
|
|
||||||
$container = static::$kernel->getContainer();
|
return 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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected static function getKernelClass()
|
protected static function getKernelClass()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user