From 905ace3e13428e6faa02f2b49e1d9ee090830e43 Mon Sep 17 00:00:00 2001 From: marin postma Date: Tue, 22 Jun 2021 11:10:57 +0200 Subject: [PATCH] fix test --- meilisearch-http/tests/settings/get_settings.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meilisearch-http/tests/settings/get_settings.rs b/meilisearch-http/tests/settings/get_settings.rs index 679f347fa..804167517 100644 --- a/meilisearch-http/tests/settings/get_settings.rs +++ b/meilisearch-http/tests/settings/get_settings.rs @@ -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]