mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-02 23:16:13 +00:00
fix callback for comparing birthdate in test
This commit is contained in:
parent
c9da72fa0d
commit
e91596ae12
@ -267,7 +267,7 @@ class PersonControllerUpdateTest extends WebTestCase
|
|||||||
['countryOfBirth', 'BE', function(Person $person) { return $person->getCountryOfBirth()->getCountryCode(); }],
|
['countryOfBirth', 'BE', function(Person $person) { return $person->getCountryOfBirth()->getCountryCode(); }],
|
||||||
['nationality', 'FR', function(Person $person) { return $person->getNationality()->getCountryCode(); }],
|
['nationality', 'FR', function(Person $person) { return $person->getNationality()->getCountryCode(); }],
|
||||||
['placeOfBirth', '', function(Person $person) { return $person->getPlaceOfBirth(); }],
|
['placeOfBirth', '', function(Person $person) { return $person->getPlaceOfBirth(); }],
|
||||||
['birthdate', '', function(Person $person) { return $person->getBirthdate(); }],
|
['birthdate', '', function(Person $person) { return $person->getBirthdate()->format('Y-m-d'); }],
|
||||||
['phonenumber', '', function(Person $person) { return $person->getPhonenumber(); }],
|
['phonenumber', '', function(Person $person) { return $person->getPhonenumber(); }],
|
||||||
['memo', '', function(Person $person) { return $person->getMemo(); }],
|
['memo', '', function(Person $person) { return $person->getMemo(); }],
|
||||||
['countryOfBirth', NULL, function(Person $person) { return $person->getCountryOfBirth(); }],
|
['countryOfBirth', NULL, function(Person $person) { return $person->getCountryOfBirth(); }],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user