From f691755eac41ee0812862731bfe160565c4e9816 Mon Sep 17 00:00:00 2001 From: damien Date: Fri, 27 Jan 2017 15:19:02 +0100 Subject: [PATCH] little modication on fixture data --- src/AppBundle/DataFixtures/ORM/LoadRestaurantData.php | 2 +- src/UserBundle/DataFixtures/ORM/LoadUserData.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/AppBundle/DataFixtures/ORM/LoadRestaurantData.php b/src/AppBundle/DataFixtures/ORM/LoadRestaurantData.php index c872e7b..4ad3a1e 100644 --- a/src/AppBundle/DataFixtures/ORM/LoadRestaurantData.php +++ b/src/AppBundle/DataFixtures/ORM/LoadRestaurantData.php @@ -173,7 +173,7 @@ public function load(ObjectManager $manager) "name" => "l'épisens", "description" => "Situé au cœur de la presqu'île de Lyon, l'Episens vous accueille avec une cuisine moderne et raffinée qui éveillera vos sens !", "openingDate" => new \DateTime("2017-01-06"), - "address" => "6 rue Palais Grillet", + "address" => "8 rue Palais Grillet", "status" => "validated", "webUrl" => "www.wildcodeschool.fr", "tripAdvisorUrl" => "none", diff --git a/src/UserBundle/DataFixtures/ORM/LoadUserData.php b/src/UserBundle/DataFixtures/ORM/LoadUserData.php index 2095a9a..7b6f58f 100644 --- a/src/UserBundle/DataFixtures/ORM/LoadUserData.php +++ b/src/UserBundle/DataFixtures/ORM/LoadUserData.php @@ -37,7 +37,7 @@ public function load(ObjectManager $manager) "passwordRequestedAt" => new \DateTime(), "roles" => array("ROLE_USER"), "civility" => 'm', - "firstName" => "jean-michel", + "firstName" => "wafa", "lastName" => "dupont", "slug" => "1-jean-michel-dupont", "birthDate" => new \DateTime("1990-06-30"), @@ -61,7 +61,7 @@ public function load(ObjectManager $manager) "passwordRequestedAt" => new \DateTime(), "roles" => array("ROLE_USER"), "civility" => 'm', - "firstName" => "john", + "firstName" => "nicolas", "lastName" => "mitchell", "slug" => "2-john-mitchell", "birthDate" => new \DateTime("1990-06-30"),