mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-06-06 12:57:48 +02:00
Fix existing tests
This commit is contained in:
parent
b24def3281
commit
5943100754
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user