mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
replace some entity shortcut by fqdn
* ChillPerson:Person * ChillMain:Center * ChillActivity:Activity
This commit is contained in:
@@ -65,7 +65,7 @@ final class ReportControllerTest extends WebTestCase
|
||||
//get a random person
|
||||
self::$person = self::$kernel->getContainer()
|
||||
->get('doctrine.orm.entity_manager')
|
||||
->getRepository('ChillPersonBundle:Person')
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->findOneBy(
|
||||
[
|
||||
'lastName' => 'Charline',
|
||||
@@ -94,7 +94,7 @@ final class ReportControllerTest extends WebTestCase
|
||||
|
||||
self::$user = self::$kernel->getContainer()
|
||||
->get('doctrine.orm.entity_manager')
|
||||
->getRepository('ChillMainBundle:User')
|
||||
->getRepository(\Chill\MainBundle\Entity\User::class)
|
||||
->findOneBy(['username' => 'center a_social']);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user