add test set/reset distinct attribute

This commit is contained in:
Marin Postma 2021-04-06 17:56:25 +02:00
parent ec230c2835
commit 1746132c7d
No known key found for this signature in database
GPG key ID: D5241F0C0C865F30
3 changed files with 25 additions and 0 deletions

View file

@ -20,6 +20,7 @@ async fn get_settings() {
assert_eq!(settings["displayedAttributes"], json!(["*"]));
assert_eq!(settings["searchableAttributes"], json!(["*"]));
assert_eq!(settings["attributesForFaceting"], json!({}));
assert_eq!(settings["distinctAttribute"], serde_json::Value::Null);
assert_eq!(
settings["rankingRules"],
json!([