mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
remove references to ->getContainer in favor of static::
This commit is contained in:
@@ -11,7 +11,7 @@ class PersonDuplicateControllerViewTest extends WebTestCase
|
||||
{
|
||||
static::bootKernel();
|
||||
|
||||
$this->em = static::$kernel->getContainer()
|
||||
$this->em = static::$container
|
||||
->get('doctrine.orm.entity_manager');
|
||||
|
||||
$center = $this->em->getRepository('ChillMainBundle:Center')
|
||||
|
Reference in New Issue
Block a user