From 8a8ec31163c1322f1be7d93f7cab3003835da80f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 17 Aug 2021 17:12:13 +0200 Subject: [PATCH] fix loading of expected people --- .../DataFixtures/ORM/LoadPeople.php | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php index 63cd41bd8..d6bdce233 100644 --- a/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php +++ b/src/Bundle/ChillPersonBundle/DataFixtures/ORM/LoadPeople.php @@ -372,6 +372,7 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con 'firstName' => "Gérard", 'birthdate' => "1948-12-27", 'placeOfBirth' => "Châteauroux", + 'nationality' => 'RU', 'gender' => Person::MALE_GENDER, 'center' => 'Center A', 'accompanyingPeriods' => [ @@ -392,19 +393,19 @@ class LoadPeople extends AbstractFixture implements OrderedFixtureInterface, Con ), array( //to have a person with same firstname as Gérard Depardieu - 'LastName' => "Depardieu", - 'FirstName' => "Jean", - 'Birthdate' => "1960-10-12", - 'CountryOfBirth' => 'FR', - 'Nationality' => 'FR', + 'lastName' => "Depardieu", + 'firstName' => "Jean", + 'birthdate' => "1960-10-12", + 'countryOfBirth' => 'FR', + 'nationality' => 'FR', 'center' => 'Center A', 'maritalStatus' => 'ms_divorce' ), array( //to have a person with same birthdate of Gérard Depardieu - 'LastName' => 'Van Snick', - 'FirstName' => 'Bart', - 'Birthdate' => '1948-12-27', + 'lastName' => 'Van Snick', + 'firstName' => 'Bart', + 'birthdate' => '1948-12-27', 'center' => 'Center A', 'maritalStatus' => 'ms_legalco' ),