mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-25 09:03:48 +00:00
Fix test
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user