mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
fix most content file error
This commit is contained in:
committed by
Clément Renault
parent
e107f1b282
commit
99144b1419
@ -560,6 +560,7 @@ async fn error_add_missing_payload_ndjson_documents() {
|
||||
let status_code = res.status();
|
||||
let body = test::read_body(res).await;
|
||||
let response: Value = serde_json::from_slice(&body).unwrap_or_default();
|
||||
dbg!(&response);
|
||||
assert_eq!(status_code, 400);
|
||||
assert_eq!(response["message"], json!(r#"A ndjson payload is missing."#));
|
||||
assert_eq!(response["code"], json!("missing_payload"));
|
||||
|
Reference in New Issue
Block a user