This commit is contained in:
marin postma 2021-06-22 11:10:57 +02:00
parent 9092d35a3c
commit 905ace3e13
No known key found for this signature in database
GPG Key ID: 6088B7721C3E39F9

View File

@ -33,7 +33,7 @@ async fn update_settings_unknown_field() {
let server = Server::new().await;
let index = server.index("test");
let (_response, code) = index.update_settings(json!({"foo": 12})).await;
assert_eq!(code, 500);
assert_eq!(code, 400);
}
#[actix_rt::test]