fix tests

This commit is contained in:
marin postma
2021-10-24 14:41:36 +02:00
parent 0f86d6b28f
commit 2e62925a6e
8 changed files with 49 additions and 55 deletions

View File

@ -409,8 +409,8 @@ fn criteria_ascdesc() {
"age": age,
});
todo!();
//batch_builder.add_documents(json).unwrap();
let json = Cursor::new(serde_json::to_vec(&json).unwrap());
batch_builder.extend_from_json(json).unwrap();
});
batch_builder.finish().unwrap();