allow age calculation on NULL birthdate and allow age to be null

+ improve translation of age
This commit is contained in:
2021-07-20 23:50:31 +02:00
parent 08e396195c
commit 76e7f5b1ee
4 changed files with 16 additions and 6 deletions

View File

@@ -102,7 +102,7 @@ class PersonControllerUpdateTest extends WebTestCase
public function testHiddenFielsArePresent()
{
$crawler = $this->client->request('GET', $this->editUrl);
var_dump($crawler->text());
$configurables = array('placeOfBirth', 'phonenumber', 'email',
'countryOfBirth', 'nationality', 'spokenLanguages', 'maritalStatus');
$form = $crawler->selectButton('Enregistrer')->form(); //;