Fix existing tests

This commit is contained in:
Louis Dureuil 2022-12-20 11:21:29 +01:00
parent b24def3281
commit 5943100754
No known key found for this signature in database

View File

@ -1658,6 +1658,12 @@ mod tests {
"branch_id_number": 0
}]};
{
let mut wtxn = index.write_txn().unwrap();
index.put_primary_key(&mut wtxn, "id").unwrap();
wtxn.commit().unwrap();
}
index.add_documents(doc1).unwrap();
index.add_documents(doc2).unwrap();