From 9269086fda3d0ac6126e8692212c18b156bb96a9 Mon Sep 17 00:00:00 2001 From: Mahmoud Rawas Date: Tue, 7 Jan 2025 11:48:09 +1100 Subject: [PATCH] fixing a rebase issue --- crates/meilisearch/tests/batches/mod.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/crates/meilisearch/tests/batches/mod.rs b/crates/meilisearch/tests/batches/mod.rs index 92cc2008e..9a4fefa1a 100644 --- a/crates/meilisearch/tests/batches/mod.rs +++ b/crates/meilisearch/tests/batches/mod.rs @@ -168,12 +168,9 @@ async fn list_batches_status_filtered() { async fn list_batches_type_filtered() { let server = Server::new().await; let index = server.index("test"); - let (task, _status_code) = index.create(None).await; + let (task, _) = index.create(None).await; index.wait_task(task.uid()).await.succeeded(); - index - .add_documents(serde_json::from_str(include_str!("../assets/test_set.json")).unwrap(), None) - .await; - + let (task, _) = index.delete().await; let (response, code) = index.filtered_batches(&["indexCreation"], &[], &[]).await; assert_eq!(code, 200, "{}", response); assert_eq!(response["results"].as_array().unwrap().len(), 1);