mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
Fix existing tests
This commit is contained in:
parent
b24def3281
commit
5943100754
1 changed files with 6 additions and 0 deletions
|
@ -1658,6 +1658,12 @@ mod tests {
|
||||||
"branch_id_number": 0
|
"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(doc1).unwrap();
|
||||||
index.add_documents(doc2).unwrap();
|
index.add_documents(doc2).unwrap();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue