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:
parent
552d220b69
commit
083357f746
1 changed files with 2 additions and 2 deletions
|
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue