mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
replace more doctrine shortcuts by fqdn
This commit is contained in:
@@ -126,7 +126,7 @@ final class PersonControllerUpdateWithHiddenFieldsTest extends WebTestCase
|
||||
case 'nationality':
|
||||
case 'countryOfBirth':
|
||||
if (null !== $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