mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
Replace underscores with hyphens in doc link to error code
This commit is contained in:
parent
db7eaf23f4
commit
2d74678b51
28 changed files with 174 additions and 159 deletions
|
@ -27,7 +27,7 @@ async fn error_get_unexisting_document() {
|
|||
"message": "Document `1` not found.",
|
||||
"code": "document_not_found",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#document_not_found"
|
||||
"link": "https://docs.meilisearch.com/errors#document-not-found"
|
||||
});
|
||||
|
||||
assert_eq!(response, expected_response);
|
||||
|
@ -90,7 +90,7 @@ async fn error_get_unexisting_index_all_documents() {
|
|||
"message": "Index `test` not found.",
|
||||
"code": "index_not_found",
|
||||
"type": "invalid_request",
|
||||
"link": "https://docs.meilisearch.com/errors#index_not_found"
|
||||
"link": "https://docs.meilisearch.com/errors#index-not-found"
|
||||
});
|
||||
|
||||
assert_eq!(response, expected_response);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue