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'); }); });