mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 06:44:27 +01: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
7ece7a9d9e
commit
eee2cd5abf
@ -321,9 +321,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