diff --git a/meilisearch/tests/common/server.rs b/meilisearch/tests/common/server.rs index f2d645563..8152edbd0 100644 --- a/meilisearch/tests/common/server.rs +++ b/meilisearch/tests/common/server.rs @@ -103,6 +103,10 @@ impl Server { Index { uid: uid.as_ref().to_string(), service: &self.service, encoder } } + pub async fn multi_search(&self, queries: Value) -> (Value, StatusCode) { + self.service.post("/multi-search", queries).await + } + pub async fn list_indexes_raw(&self, parameters: &str) -> (Value, StatusCode) { self.service.get(format!("/indexes{parameters}")).await }