Skip to content

Commit

Permalink
product to trouwen
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenvdlinde committed Jan 4, 2020
1 parent f85a728 commit 8a7d02a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/DataFixtures/AppFixtures.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,12 @@ public function load(ObjectManager $manager)
$trouwen->setTaxPercentage(0);
$trouwen->setRequiresAppointment(false);
$manager->persist($trouwen);
$product->setId($id);
$manager->persist($product);
$trouwen->setId($id);
$manager->persist($trouwen);
foreach ([$trouwenUtrecht, $trouwenCeremoniersUtrecht] as $group) {
$trouwen->addGroup($group);
}
$manager->persist($product);
$manager->persist($trouwen);
$manager->flush();
$manager->refresh($trouwen);

Expand Down

0 comments on commit 8a7d02a

Please sign in to comment.