mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 10:05:03 +00:00
replace some entity shortcut by fqdn
* ChillPerson:Person * ChillMain:Center * ChillActivity:Activity
This commit is contained in:
@@ -47,7 +47,7 @@ final class PersonAddressControllerTest extends WebTestCase
|
||||
$em = self::$kernel->getContainer()
|
||||
->get('doctrine.orm.entity_manager');
|
||||
|
||||
$center = $em->getRepository('ChillMainBundle:Center')
|
||||
$center = $em->getRepository(\Chill\MainBundle\Entity\Center::class)
|
||||
->findOneBy(['name' => 'Center A']);
|
||||
|
||||
self::$person = (new Person())
|
||||
@@ -195,7 +195,7 @@ final class PersonAddressControllerTest extends WebTestCase
|
||||
*/
|
||||
protected function refreshPerson()
|
||||
{
|
||||
self::$person = $this->em->getRepository('ChillPersonBundle:Person')
|
||||
self::$person = $this->em->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->find(self::$person->getId());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user