Fix tests

This commit is contained in:
Julien Fastré 2025-04-08 15:40:33 +02:00
parent 8fa06e143d
commit b1b7fb6401
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -23,6 +23,7 @@ use Chill\PersonBundle\Export\Aggregator\AccompanyingCourseAggregators\ReferrerS
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Prophecy\Argument; use Prophecy\Argument;
use Prophecy\PhpUnit\ProphecyTrait; use Prophecy\PhpUnit\ProphecyTrait;
use Symfony\Component\Clock\MockClock;
/** /**
* @internal * @internal
@ -49,7 +50,7 @@ final class ReferrerScopeAggregatorTest extends AbstractAggregatorTest
return new ReferrerScopeAggregator( return new ReferrerScopeAggregator(
$scopeRepository->reveal(), $scopeRepository->reveal(),
$translatableStringHelper->reveal(), $translatableStringHelper->reveal(),
new RollingDateConverter(), new RollingDateConverter(new MockClock()),
); );
} }