mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
replace some entity shortcut by fqdn
* ChillPerson:Person * ChillMain:Center * ChillActivity:Activity
This commit is contained in:
@@ -51,14 +51,14 @@ final class PersonControllerCreateTest extends WebTestCase
|
||||
$em = self::$kernel->getContainer()->get('doctrine.orm.entity_manager');
|
||||
|
||||
//remove two people created during test
|
||||
$jesus = $em->getRepository('ChillPersonBundle:Person')
|
||||
$jesus = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->findOneBy(['firstName' => 'God']);
|
||||
|
||||
if (null !== $jesus) {
|
||||
$em->remove($jesus);
|
||||
}
|
||||
|
||||
$jesus2 = $em->getRepository('ChillPersonBundle:Person')
|
||||
$jesus2 = $em->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->findOneBy(['firstName' => 'roger']);
|
||||
|
||||
if (null !== $jesus2) {
|
||||
|
Reference in New Issue
Block a user