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