mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-06 20:25:40 +00:00
Update crates/meilisearch/tests/index/update_index.rs
Co-authored-by: Tamo <irevoire@protonmail.ch>
This commit is contained in:
parent
f77abc9dc8
commit
025df397c0
@ -47,9 +47,7 @@ async fn create_and_update_with_different_encoding() {
|
|||||||
let index = index.with_encoder(Encoder::Brotli);
|
let index = index.with_encoder(Encoder::Brotli);
|
||||||
let (task, _status_code) = index.update(Some("primary")).await;
|
let (task, _status_code) = index.update(Some("primary")).await;
|
||||||
|
|
||||||
let response = index.wait_task(task.uid()).await.succeeded();
|
index.wait_task(task.uid()).await.succeeded();
|
||||||
|
|
||||||
assert_eq!(response["status"], "succeeded");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user