From b1b3a1a98b7ffe0e742cb578f47eb95e17e75bd6 Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 30 Jul 2024 15:51:02 +0200 Subject: [PATCH] add a get, set and put test for the localized attributes setting --- meilisearch/tests/settings/get_settings.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meilisearch/tests/settings/get_settings.rs b/meilisearch/tests/settings/get_settings.rs index 58805d54f..1571b8ca6 100644 --- a/meilisearch/tests/settings/get_settings.rs +++ b/meilisearch/tests/settings/get_settings.rs @@ -9,6 +9,7 @@ static DEFAULT_SETTINGS_VALUES: Lazy> = Lazy::new(| let mut map = HashMap::new(); map.insert("displayed_attributes", json!(["*"])); map.insert("searchable_attributes", json!(["*"])); + map.insert("localized_attributes", json!(null)); map.insert("filterable_attributes", json!([])); map.insert("distinct_attribute", json!(null)); map.insert( @@ -409,6 +410,7 @@ macro_rules! test_setting_routes { test_setting_routes!( filterable_attributes put, displayed_attributes put, + localized_attributes put, searchable_attributes put, distinct_attribute put, stop_words put,