Fixed the ignored session tests.
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1s
This commit is contained in:
@@ -55,10 +55,10 @@ impl Session {
|
||||
let mut delete = Delete::new(Session::doc_names()[0].clone());
|
||||
let delete_qry = delete.get_query_mut();
|
||||
let mut delete_calc = Calculation::new(Operand::LessThan);
|
||||
delete_calc.add_value(FieldType::DateTime).unwrap();
|
||||
delete_calc
|
||||
.add_value(CalcValue::Existing(FieldType::DateTime))
|
||||
.unwrap();
|
||||
delete_calc.add_value(FieldType::DateTime).unwrap();
|
||||
delete_qry.add(name_expire.clone(), delete_calc);
|
||||
let delete_func = DocFuncType::Trigger(delete.into());
|
||||
docdef.add_route(Clock::get_path(), delete_func);
|
||||
|
||||
Reference in New Issue
Block a user