fix(test): align failed-save fixtures with WorkOrderTableRow

This commit is contained in:
Arthur Bassi 2026-07-22 20:09:13 -03:00 • committed by Arthur Bassi
parent aee5223757
commit 9a1c04c934
2 changed files with 7 additions and 3 deletions

View file

@ -55,7 +55,6 @@ function baseRow(overrides: Partial<WorkOrderTableRow> = {}): WorkOrderTableRow
dispatcherId: "u1",
dispatcherName: "Dispatcher",
scheduledOn: "2026-07-20",
completedDate: "",
targetWeek: "",
dayGroup: "07/20",
dayLabel: "Mon",
@ -86,7 +85,10 @@ function baseRow(overrides: Partial<WorkOrderTableRow> = {}): WorkOrderTableRow
mediaCount: 0,
title: "PM — SEA1",
priority: "Sev 3",
primaryDispatchId: null,
rowVersion: "v1",
dispatchRowVersion: "",
flagColor: null,
...overrides,
};
}

View file

@ -67,10 +67,12 @@ function row(overrides: Partial<WorkOrderTableRow> = {}): WorkOrderTableRow {
mediaCount: 0,
title: "",
priority: "",
primaryDispatchId: null,
rowVersion: "rv1",
completedDate: "",
dispatchRowVersion: "",
flagColor: null,
...overrides,
} as WorkOrderTableRow;
};
}
describe("slide-over failed-save baseline contract", () => {