fix the autobatched document deletion

This commit is contained in:
Irevoire
2022-10-22 15:59:30 +02:00
committed by Clément Renault
parent f6963f9662
commit c8ee453b6c
2 changed files with 5 additions and 5 deletions

View File

@ -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"));