mirror of
https://github.com/storytold/gridcraft.git
synced 2026-11-27 00:07:31 -06:00
Test: pass the trust level to DocState::new in the subtotal filter test
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user