mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 02:27:40 +08:00
Update meilisearch-http/tests/documents/add_documents.rs
Co-authored-by: Clément Renault <renault.cle@gmail.com>
This commit is contained in:
parent
eee2cd5abf
commit
6fc6b83632
@ -345,9 +345,7 @@ async fn error_add_malformed_json_documents() {
|
||||
.to_request();
|
||||
let res = test::call_service(&app, req).await;
|
||||
let body = test::read_body(res).await;
|
||||
dbg!(&body);
|
||||
let response: Value = serde_json::from_slice(&body).unwrap_or_default();
|
||||
dbg!(&response);
|
||||
assert_eq!(status_code, 400);
|
||||
assert_eq!(
|
||||
response["message"],
|
||||
|
Loading…
Reference in New Issue
Block a user