Fix tests

This commit is contained in:
Louis Dureuil 2024-07-25 10:50:45 +02:00
parent a918561ac1
commit 59115fd058
No known key found for this signature in database

View File

@ -55,7 +55,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(), 16);
assert_eq!(settings.keys().len(), 17);
assert_eq!(settings["displayedAttributes"], json!(["*"]));
assert_eq!(settings["searchableAttributes"], json!(["*"]));
assert_eq!(settings["filterableAttributes"], json!([]));
@ -195,7 +195,8 @@ async fn secrets_are_hidden_in_settings() {
"response": "{{embedding}}"
}
},
"searchCutoffMs": null
"searchCutoffMs": null,
"localizedAttributes": null
}
"###);