Altered populate function.
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:
@@ -29,7 +29,7 @@ fn can_a_trigger_cause_an_update() {
|
||||
let mut docdef = test_doc.get_docdef();
|
||||
docdef.add_route(path, function);
|
||||
mtt.create_document(docdef);
|
||||
test_doc.populate(&mut mtt, vec![data0.clone(), data1.clone()]);
|
||||
test_doc.populate(mtt.clone(), vec![data0.clone(), data1.clone()]);
|
||||
let path = Path::new(
|
||||
Include::All,
|
||||
Include::Just(test_doc.get_doc_name().into()),
|
||||
@@ -88,7 +88,7 @@ fn can_trigger_update_specific_record() {
|
||||
let mut docdef = test_doc.get_docdef();
|
||||
docdef.add_route(path, function);
|
||||
mtt.create_document(docdef);
|
||||
test_doc.populate_multiple(&mut mtt, input);
|
||||
test_doc.populate_multiple(mtt.clone(), input);
|
||||
let mut qry_calc = Calculation::new(Operand::Equal);
|
||||
qry_calc
|
||||
.add_value(CalcValue::Existing(FieldType::Integer))
|
||||
@@ -152,7 +152,7 @@ fn can_a_trigger_from_another_document_be_used() {
|
||||
let mut docdef = test_doc.get_docdef();
|
||||
docdef.add_route(path, function);
|
||||
mtt.create_document(docdef);
|
||||
test_doc.populate_multiple(&mut mtt, input);
|
||||
test_doc.populate_multiple(mtt.clone(), input);
|
||||
let path = Path::new(
|
||||
Include::All,
|
||||
Include::Just(test_doc.get_doc_name().into()),
|
||||
|
||||
Reference in New Issue
Block a user