mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Fix tests
This commit is contained in:
parent
8fa06e143d
commit
b1b7fb6401
@ -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()),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user