mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
remove references to ->getContainer in favor of static::
This commit is contained in:
@@ -60,7 +60,7 @@ class PersonVoterTest extends KernelTestCase
|
||||
public function setUp()
|
||||
{
|
||||
static::bootKernel();
|
||||
$this->voter = static::$kernel->getContainer()
|
||||
$this->voter = static::$container
|
||||
->get('chill.person.security.authorization.person');
|
||||
$this->prophet = new \Prophecy\Prophet();
|
||||
}
|
||||
|
Reference in New Issue
Block a user