mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Fix the tests about the nested fields
This commit is contained in:
parent
c46f3587de
commit
5c4c38c79c
@ -497,7 +497,7 @@ async fn search_facet_distribution() {
|
|||||||
assert_eq!(code, 200, "{}", response);
|
assert_eq!(code, 200, "{}", response);
|
||||||
let dist = response["facetsDistribution"].as_object().unwrap();
|
let dist = response["facetsDistribution"].as_object().unwrap();
|
||||||
dbg!(&dist);
|
dbg!(&dist);
|
||||||
assert_eq!(dist.len(), 2);
|
assert_eq!(dist.len(), 3);
|
||||||
assert_eq!(
|
assert_eq!(
|
||||||
dist["doggos.name"],
|
dist["doggos.name"],
|
||||||
json!({ "bobby": 1, "buddy": 1, "gros bill": 1, "turbo": 1, "fast": 1})
|
json!({ "bobby": 1, "buddy": 1, "gros bill": 1, "turbo": 1, "fast": 1})
|
||||||
|
Loading…
Reference in New Issue
Block a user