Add proximityPrecision setting in settings route

This commit is contained in:
ManyTheFish 2023-12-06 14:46:12 +01:00
parent 467b49153d
commit 8cc3c54117
4 changed files with 77 additions and 1 deletions

View file

@ -54,7 +54,7 @@ async fn get_settings() {
let (response, code) = index.settings().await;
assert_eq!(code, 200);
let settings = response.as_object().unwrap();
assert_eq!(settings.keys().len(), 14);
assert_eq!(settings.keys().len(), 15);
assert_eq!(settings["displayedAttributes"], json!(["*"]));
assert_eq!(settings["searchableAttributes"], json!(["*"]));
assert_eq!(settings["filterableAttributes"], json!([]));