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.
This commit is contained in:
Jérémy Munsch 2026-11-14 08:47:52 +01:00
parent 552d220b69
commit 083357f746
No known key found for this signature in database
GPG key ID: 2AAECDA6B7330F91

View file

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