mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
fix the autobatched document deletion
This commit is contained in:
parent
f6963f9662
commit
c8ee453b6c
2 changed files with 5 additions and 5 deletions
|
@ -560,7 +560,6 @@ 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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue