fix loading third party

This commit is contained in:
Julien Fastré 2021-10-08 17:56:13 +02:00
parent 0633fd812f
commit 72e9346b6b

View File

@ -25,6 +25,7 @@ class LoadThirdParty extends Fixture Implements DependentFixtureInterface
// this is an address
continue;
}
$thirdParty->setCreatedAt(new \DateTimeImmutable('today'));
foreach ($this->getCenters() as $center) {
$thirdParty->addCenter($center);