Solved law not set bug

This commit is contained in:
Kevin Frantz 2019-02-16 16:50:29 +01:00
parent a85e20fdc0
commit 02b2dfa9ae

View File

@ -29,6 +29,7 @@ final class ImpressumFixtureSource extends AbstractFixtureSource
$right->setSource($impressumSource);
$right->setLayer(LayerType::SOURCE);
$right->setCrud(CRUDType::READ);
$right->setLaw($impressumSource->getLaw());
$impressumSource->getLaw()->getRights()->add($right);
return $impressumSource;