From b7c0eaae9d74f10425036d3a1eb31dfec13a1881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 2 Jul 2025 12:08:06 +0200 Subject: [PATCH] Fix test --- .../Export/Cronjob/RemoveExpiredExportGenerationCronJobTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Tests/Export/Cronjob/RemoveExpiredExportGenerationCronJobTest.php b/src/Bundle/ChillMainBundle/Tests/Export/Cronjob/RemoveExpiredExportGenerationCronJobTest.php index 920e59d22..c47c4c878 100644 --- a/src/Bundle/ChillMainBundle/Tests/Export/Cronjob/RemoveExpiredExportGenerationCronJobTest.php +++ b/src/Bundle/ChillMainBundle/Tests/Export/Cronjob/RemoveExpiredExportGenerationCronJobTest.php @@ -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);