update all the response format to be ISO with meilisearch, see #64

This commit is contained in:
Irevoire
2021-03-17 13:54:17 +01:00
committed by tamo
parent 6e1ddfea5a
commit 96cffeab1e
5 changed files with 43 additions and 28 deletions

View File

@ -33,7 +33,7 @@ async fn get_document() {
}
]);
let (_, code) = index.add_documents(documents, None).await;
assert_eq!(code, 200);
assert_eq!(code, 202);
index.wait_update_id(0).await;
let (response, code) = index.get_document(0, None).await;
assert_eq!(code, 200);