fix the tests

This commit is contained in:
Tamo 2025-01-13 16:17:50 +01:00
parent 27155f845c
commit 8ff15b3dfb
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
6 changed files with 88 additions and 101 deletions

View file

@ -84,7 +84,6 @@ async fn clear_all_documents_empty_index() {
let _update = index.wait_task(task.uid()).await;
let (response, code) = index.get_all_documents(GetAllDocumentsOptions::default()).await;
index.wait_task(response.uid()).await.succeeded();
assert_eq!(code, 200);
assert!(response["results"].as_array().unwrap().is_empty());
}