From 083357f7467f341efa93c253991b406edea8cffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Sat, 14 Nov 2026 08:47:52 +0100 Subject: [PATCH] test(EmployeeCsvImportLineService): fix end date format in test Updated the expected end date format in the test to match the correct 'Y-m-d' format. --- tests/Unit/App/Services/EmployeeCsvImportLineTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Unit/App/Services/EmployeeCsvImportLineTest.php b/tests/Unit/App/Services/EmployeeCsvImportLineTest.php index 85c2942f..07502b08 100644 --- a/tests/Unit/App/Services/EmployeeCsvImportLineTest.php +++ b/tests/Unit/App/Services/EmployeeCsvImportLineTest.php @@ -38,7 +38,7 @@ describe('EmployeeCsvImportLineService', function (): void { $line = new EmployeeCsvImportLineService(); // WHEN + THEN - expect(fn () => $line->setEndDate('31-12-2026')) - ->toThrow(\InvalidArgumentException::class, 'Invalid date format: 31-12-2026'); + expect(fn () => $line->setEndDate('2026-12-31')) + ->toThrow(\InvalidArgumentException::class, 'Invalid date format: 2026-12-31'); }); });