Update milli version to v0.5.0

This commit is contained in:
Clémentine Urquizar 2021-06-21 16:59:27 +02:00 committed by Tamo
parent 25af262e79
commit 2e3d85c31a
No known key found for this signature in database
GPG key ID: 20CD8020AFA88D69
6 changed files with 48 additions and 48 deletions

View file

@ -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);
}