Skip to content

Commit

Permalink
Set product UUID's in app fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 3, 2020
1 parent 4798447 commit d63e34c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions api/src/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d63e34c

Please sign in to comment.