diff --git a/bciers/apps/reporting/src/tests/components/dataGrid/model/operations/operationColumns.test.tsx b/bciers/apps/reporting/src/tests/components/dataGrid/model/operations/operationColumns.test.tsx index 5425082943..4f6d0cb6d8 100644 --- a/bciers/apps/reporting/src/tests/components/dataGrid/model/operations/operationColumns.test.tsx +++ b/bciers/apps/reporting/src/tests/components/dataGrid/model/operations/operationColumns.test.tsx @@ -22,7 +22,7 @@ describe("operationColumns function", () => { it("returns an array of column definitions", () => { const columns: GridColDef[] = operationColumns(); - assert(columns.length === 4, "Expected 4 columns"); + assert(columns.length === 5, "Expected 5 columns"); assert( columns[0].field === "bcghg_id", @@ -51,14 +51,17 @@ describe("operationColumns function", () => { ); assert(columns[2].width === 120, "Column 3 width should be 120"); - assert(columns[3].field === "more", 'Column 4 field should be "action"'); + assert(columns[3].field === "report_status", 'Column 4 field should be "report_tatus"'); + assert(columns[3].width === 160, "Column 4 width should be 160"); + + assert(columns[4].field === "more", 'Column 5 field should be "action"'); assert( - columns[3].headerName === "More", - 'Column 4 headerName should be "More"', + columns[4].headerName === "More", + 'Column 5 headerName should be "More"', ); - assert(columns[3].sortable === false, "Column 4 sortable should be false"); - assert(columns[3].width === 120, "Column 4 width should be 120"); - assert(columns[3].flex === 1, "Column 4 flex should be 1"); + assert(columns[4].sortable === false, "Column 4 sortable should be false"); + assert(columns[4].width === 120, "Column 4 width should be 120"); + assert(columns[4].flex === 1, "Column 4 flex should be 1"); }); it("has a 'start' button in the 'Actions' column when report_id is null", () => {