mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-26 16:21:07 +00:00
Update milli version to v0.5.0
This commit is contained in:
committed by
Tamo
parent
25af262e79
commit
2e3d85c31a
@ -15,7 +15,7 @@ async fn stats() {
|
||||
assert_eq!(code, 200);
|
||||
assert_eq!(response["numberOfDocuments"], 0);
|
||||
assert!(response["isIndexing"] == false);
|
||||
assert!(response["fieldsDistribution"]
|
||||
assert!(response["fieldDistribution"]
|
||||
.as_object()
|
||||
.unwrap()
|
||||
.is_empty());
|
||||
@ -42,7 +42,7 @@ async fn stats() {
|
||||
assert_eq!(code, 200);
|
||||
assert_eq!(response["numberOfDocuments"], 2);
|
||||
assert!(response["isIndexing"] == false);
|
||||
assert_eq!(response["fieldsDistribution"]["id"], 2);
|
||||
assert_eq!(response["fieldsDistribution"]["name"], 1);
|
||||
assert_eq!(response["fieldsDistribution"]["age"], 1);
|
||||
assert_eq!(response["fieldDistribution"]["id"], 2);
|
||||
assert_eq!(response["fieldDistribution"]["name"], 1);
|
||||
assert_eq!(response["fieldDistribution"]["age"], 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user