Skip to content

Commit 31b5b8d

Browse files
Copilotrenemadsen
andcommitted
Fix test expectation for getMaxDifference with empty inputs
Co-authored-by: renemadsen <76994+renemadsen@users.noreply.github.com>
1 parent b5f57fc commit 31b5b8d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

eform-client/src/app/plugins/modules/time-planning-pn/components/plannings/time-planning-actions/workday-entity/workday-entity-dialog.component.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ describe('WorkdayEntityDialogComponent', () => {
242242
expect(result).toBe('2:0'); // 2 hours to midnight
243243
});
244244

245-
it('should return 00:00 for invalid inputs', () => {
246-
expect(component.getMaxDifference('', '')).toBe('00:00');
245+
it('should return 0:0 for invalid inputs', () => {
246+
expect(component.getMaxDifference('', '')).toBe('0:0');
247247
});
248248

249249
it('should handle times with minutes', () => {

0 commit comments

Comments
 (0)