Fix some errors

This commit is contained in:
many
2021-10-26 19:36:48 +02:00
parent 61c15b69fb
commit 7464720426
27 changed files with 347 additions and 234 deletions

View File

@ -20,7 +20,7 @@ async fn error_get_unexisting_document() {
let (response, code) = index.get_document(1, None).await;
let expected_response = json!({
"message": "Document 1 not found.",
"message": "Document `1` not found.",
"code": "document_not_found",
"type": "invalid_request",
"link": "https://docs.meilisearch.com/errors#document_not_found"
@ -64,7 +64,7 @@ async fn error_get_unexisting_index_all_documents() {
.await;
let expected_response = json!({
"message": "Index test not found.",
"message": "Index `test` not found.",
"code": "index_not_found",
"type": "invalid_request",
"link": "https://docs.meilisearch.com/errors#index_not_found"