mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-03 07:26:12 +00:00
Fix test
This commit is contained in:
parent
fef2fe915a
commit
b7c0eaae9d
@ -93,7 +93,7 @@ class RemoveExpiredExportGenerationCronJobTest extends TestCase
|
||||
new ExportGeneration('dummy', []),
|
||||
];
|
||||
|
||||
$repo->findExpiredExportGeneration(Argument::that(fn($dateTime) =>
|
||||
$repo->findExpiredExportGeneration(Argument::that(fn ($dateTime) =>
|
||||
// Ensure the repository is called with the current clock time
|
||||
$dateTime instanceof \DateTimeImmutable
|
||||
&& $dateTime->getTimestamp() === $clock->now()->getTimestamp()))->willReturn($expiredExports);
|
||||
|
Loading…
x
Reference in New Issue
Block a user