fix loading of expected people

This commit is contained in:
Julien Fastré 2021-08-17 17:12:13 +02:00
parent b88c01365d
commit 8a8ec31163

View File

@ -372,6 +372,7 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con
'firstName' => "Gérard", 'firstName' => "Gérard",
'birthdate' => "1948-12-27", 'birthdate' => "1948-12-27",
'placeOfBirth' => "Châteauroux", 'placeOfBirth' => "Châteauroux",
'nationality' => 'RU',
'gender' => Person::MALE_GENDER, 'gender' => Person::MALE_GENDER,
'center' => 'Center A', 'center' => 'Center A',
'accompanyingPeriods' => [ 'accompanyingPeriods' => [
@ -392,19 +393,19 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con
), ),
array( array(
//to have a person with same firstname as Gérard Depardieu //to have a person with same firstname as Gérard Depardieu
'LastName' => "Depardieu", 'lastName' => "Depardieu",
'FirstName' => "Jean", 'firstName' => "Jean",
'Birthdate' => "1960-10-12", 'birthdate' => "1960-10-12",
'CountryOfBirth' => 'FR', 'countryOfBirth' => 'FR',
'Nationality' => 'FR', 'nationality' => 'FR',
'center' => 'Center A', 'center' => 'Center A',
'maritalStatus' => 'ms_divorce' 'maritalStatus' => 'ms_divorce'
), ),
array( array(
//to have a person with same birthdate of Gérard Depardieu //to have a person with same birthdate of Gérard Depardieu
'LastName' => 'Van Snick', 'lastName' => 'Van Snick',
'FirstName' => 'Bart', 'firstName' => 'Bart',
'Birthdate' => '1948-12-27', 'birthdate' => '1948-12-27',
'center' => 'Center A', 'center' => 'Center A',
'maritalStatus' => 'ms_legalco' 'maritalStatus' => 'ms_legalco'
), ),