fix inconsistency in fixtures

This commit is contained in:
Mathieu Jaumotte 2021-03-27 11:50:03 +01:00
parent dcc6969310
commit 0d9f3d7dba

View File

@ -279,8 +279,8 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con
private $peoples = array(
array(
'FirstName' => "Depardieu",
'LastName' => "Gérard",
'LastName' => "Depardieu",
'FirstName' => "Gérard",
'Birthdate' => "1948-12-27",
'PlaceOfBirth' => "Châteauroux",
'Gender' => Person::MALE_GENDER,
@ -291,8 +291,8 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con
),
array(
//to have a person with same firstname as Gérard Depardieu
'FirstName' => "Depardieu",
'LastName' => "Jean",
'LastName' => "Depardieu",
'FirstName' => "Jean",
'Birthdate' => "1960-10-12",
'CountryOfBirth' => 'FR',
'Nationality' => 'FR',
@ -301,24 +301,24 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con
),
array(
//to have a person with same birthdate of Gérard Depardieu
'FirstName' => 'Van Snick',
'LastName' => 'Bart',
'LastName' => 'Van Snick',
'FirstName' => 'Bart',
'Birthdate' => '1948-12-27',
'center' => 'centerA',
'maritalStatus' => 'ms_legalco'
),
array(
//to have a woman with Depardieu as FirstName
'FirstName' => 'Depardieu',
'LastName' => 'Charline',
'LastName' => 'Depardieu',
'FirstName' => 'Charline',
'Gender' => Person::FEMALE_GENDER,
'center' => 'centerA',
'maritalStatus' => 'ms_legalco'
),
array(
//to have a special character in lastName
'FirstName' => 'Manço',
'LastName' => 'Étienne',
'LastName' => 'Manço',
'FirstName' => 'Étienne',
'center' => 'centerA',
'maritalStatus' => 'ms_unknown'
)