From 46bdd416bbc8878238404ee27fefa4e9f59cd105 Mon Sep 17 00:00:00 2001 From: Harrison Booth <73434116+Harrison-Booth@users.noreply.github.com> Date: Sat, 24 Oct 2026 16:48:11 -0500 Subject: [PATCH] Test: pass the trust level to DocState::new in the subtotal filter test --- crates/engine/tests/subtotal-filter-roundtrip.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/tests/subtotal-filter-roundtrip.rs b/crates/engine/tests/subtotal-filter-roundtrip.rs index 6fcc09fd0..83987f826 100644 --- a/crates/engine/tests/subtotal-filter-roundtrip.rs +++ b/crates/engine/tests/subtotal-filter-roundtrip.rs @@ -115,7 +115,7 @@ fn filtering_a_reopened_table_again_keeps_both_criteria() { s.execute("data.filterBy", json!({"column":"A","values":["a","c","e","f"]})).unwrap(); let back = reopened(wb(&s)); let mut s = Session::new(); - s.add_document(gridcraft_engine::DocState::new(back, None, "t".into())); + s.add_document(gridcraft_engine::DocState::new(back, None, "t".into(), gridcraft_engine::Trust::FromFile)); s.execute("selection.set", json!({"cell":"A2"})).unwrap(); s.execute("data.filterBy", json!({"column":"B","custom":{"op":">","value":"50"}})).unwrap(); let sh = wb(&s).active().unwrap();