mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-23 13:24:27 +01:00
update test
This commit is contained in:
parent
c3bcd7a410
commit
eb240c8b60
@ -1,4 +1,4 @@
|
|||||||
use std::collections::{BTreeMap, BTreeSet, HashSet};
|
use std::collections::{BTreeMap, BTreeSet};
|
||||||
|
|
||||||
use actix_web::{delete, get, post};
|
use actix_web::{delete, get, post};
|
||||||
use actix_web::{web, HttpResponse};
|
use actix_web::{web, HttpResponse};
|
||||||
|
@ -786,7 +786,23 @@ async fn test_facets_distribution_attribute() {
|
|||||||
|
|
||||||
let expected = json!({
|
let expected = json!({
|
||||||
"isIndexing": false,
|
"isIndexing": false,
|
||||||
"fieldsDistribution":{},
|
"numberOfDocuments":77,
|
||||||
|
"fieldsDistribution":{
|
||||||
|
"age":77,
|
||||||
|
"gender":77,
|
||||||
|
"phone":77,
|
||||||
|
"name":77,
|
||||||
|
"registered":77,
|
||||||
|
"latitude":77,
|
||||||
|
"email":77,
|
||||||
|
"tags":77,
|
||||||
|
"longitude":77,
|
||||||
|
"color":77,
|
||||||
|
"address":77,
|
||||||
|
"balance":77,
|
||||||
|
"about":77,
|
||||||
|
"picture":77,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
assert_json_eq!(expected, response, ordered: true);
|
assert_json_eq!(expected, response, ordered: true);
|
||||||
|
Loading…
Reference in New Issue
Block a user