Fix the tests

This commit is contained in:
Clément Renault 2023-06-27 15:31:11 +02:00
parent 1d8dfafd25
commit 9a13b72f25
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
2 changed files with 18 additions and 12 deletions

View file

@ -21,6 +21,9 @@ static DEFAULT_SETTINGS_VALUES: Lazy<HashMap<&'static str, Value>> = Lazy::new(|
"faceting",
json!({
"maxValuesPerFacet": json!(100),
"sortFacetValuesBy": {
"*": "alpha"
}
}),
);
map.insert(
@ -63,6 +66,9 @@ async fn get_settings() {
settings["faceting"],
json!({
"maxValuesPerFacet": 100,
"sortFacetValuesBy": {
"*": "alpha"
}
})
);
assert_eq!(