mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
replace more doctrine shortcuts by fqdn
This commit is contained in:
@@ -192,7 +192,7 @@ final class PersonControllerUpdateTest extends WebTestCase
|
||||
case 'nationality':
|
||||
case 'countryOfBirth':
|
||||
if (false === empty($value)) {
|
||||
$country = $this->em->getRepository('ChillMainBundle:Country')
|
||||
$country = $this->em->getRepository(\Chill\MainBundle\Entity\Country::class)
|
||||
->findOneByCountryCode($value);
|
||||
$transformedValue = $country->getId();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user