mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-25 07:41:00 +00:00
split csv and json document routes
This commit is contained in:
@ -152,8 +152,8 @@ async fn document_add_create_index_bad_uid() {
|
||||
async fn document_update_create_index_bad_uid() {
|
||||
let server = Server::new().await;
|
||||
let index = server.index("883 fj!");
|
||||
let (_response, code) = index.update_documents(json!([]), None).await;
|
||||
assert_eq!(code, 400);
|
||||
let (response, code) = index.update_documents(json!([]), None).await;
|
||||
assert_eq!(code, 400, "{}", response);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
Reference in New Issue
Block a user