From d63e34c45007d4ca2e8432658012c1b8aee8e78a Mon Sep 17 00:00:00 2001 From: Ruben van der Linde Date: Fri, 3 Jan 2020 13:40:43 +0100 Subject: [PATCH] Set product UUID's in app fixtures --- api/src/DataFixtures/AppFixtures.php | 12 ++++++------ docker-compose.yml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/src/DataFixtures/AppFixtures.php b/api/src/DataFixtures/AppFixtures.php index 99232cae..23073280 100644 --- a/api/src/DataFixtures/AppFixtures.php +++ b/api/src/DataFixtures/AppFixtures.php @@ -185,26 +185,26 @@ public function load(ObjectManager $manager) //$manager->persist($trouwenUtrecht); - // $id = Uuid::fromString('9d76fb58-0711-4437-acc4-9f4d9d403cdf'); + $id = Uuid::fromString('7f4ff7ae-ed1b-45c9-9a73-3ed06a36b9cc'); $trouwenAmbtenarenUtrecht= new Group(); $trouwenAmbtenarenUtrecht->setName('Trouwambtenaren'); $trouwenAmbtenarenUtrecht->setDescription('Door wie wilt u worden getrouwd?'); $trouwenAmbtenarenUtrecht->setSourceOrganization('002220647'); $trouwenAmbtenarenUtrecht->setCatalogue($utrecht); $manager->persist($trouwenAmbtenarenUtrecht); - //$trouwenAmbtenarenUtrecht->setId($id); - //$manager->persist($trouwenAmbtenarenUtrecht); + $trouwenAmbtenarenUtrecht->setId($id); + $manager->persist($trouwenAmbtenarenUtrecht); - // $id = Uuid::fromString('9d76fb58-0711-4437-acc4-9f4d9d403cdf'); + $id = Uuid::fromString('170788e7-b238-4c28-8efc-97bdada02c2e'); $trouwenLocatiesUtrecht= new Group(); $trouwenLocatiesUtrecht->setName('Trouwlocaties'); $trouwenLocatiesUtrecht->setDescription('Waar wilt u trouwen?'); $trouwenLocatiesUtrecht->setSourceOrganization('002220647'); $trouwenLocatiesUtrecht->setCatalogue($utrecht); $manager->persist($trouwenLocatiesUtrecht); - //$trouwenLocatiesUtrecht->setId($id); - //$manager->persist($trouwenLocatiesUtrecht); + $trouwenLocatiesUtrecht->setId($id); + $manager->persist($trouwenLocatiesUtrecht); // $id = Uuid::fromString('9d76fb58-0711-4437-acc4-9f4d9d403cdf'); $trouwenCeremoniersUtrecht= new Group(); diff --git a/docker-compose.yml b/docker-compose.yml index 85e491c7..5a2616e4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -189,8 +189,8 @@ services: - MYSQL_PASSWORD=!ChangeMe! volumes: - db-mysql:/var/lib/mysql:rw - ports: - - "3366:3306" + # ports: + # - "3366:3306" mercure: # In production, you may want to use the managed version of Mercure, https://mercure.rocks