mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
fix test
This commit is contained in:
parent
9092d35a3c
commit
905ace3e13
@ -33,7 +33,7 @@ async fn update_settings_unknown_field() {
|
|||||||
let server = Server::new().await;
|
let server = Server::new().await;
|
||||||
let index = server.index("test");
|
let index = server.index("test");
|
||||||
let (_response, code) = index.update_settings(json!({"foo": 12})).await;
|
let (_response, code) = index.update_settings(json!({"foo": 12})).await;
|
||||||
assert_eq!(code, 500);
|
assert_eq!(code, 400);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
Loading…
Reference in New Issue
Block a user