mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
replace more doctrine shortcuts by fqdn
This commit is contained in:
@@ -456,7 +456,7 @@ final class ParticipationControllerTest extends WebTestCase
|
||||
$center = $this->em->getRepository(\Chill\MainBundle\Entity\Center::class)
|
||||
->findByName($centerName);
|
||||
|
||||
$circles = $this->em->getRepository('ChillMainBundle:Scope')
|
||||
$circles = $this->em->getRepository(\Chill\MainBundle\Entity\Scope::class)
|
||||
->findAll();
|
||||
array_filter($circles, static function ($circle) use ($circleName) {
|
||||
return in_array($circleName, $circle->getName(), true);
|
||||
|
@@ -333,7 +333,7 @@ final class EventSearchTest extends WebTestCase
|
||||
*/
|
||||
protected function getCircle($name = 'social')
|
||||
{
|
||||
$circles = $this->entityManager->getRepository('ChillMainBundle:Scope')
|
||||
$circles = $this->entityManager->getRepository(\Chill\MainBundle\Entity\Scope::class)
|
||||
->findAll();
|
||||
|
||||
/** @var \Chill\MainBundle\Entity\Scope $circle */
|
||||
|
Reference in New Issue
Block a user