From ce3e8794a2877f277ac07c6cbd7cc6f4545816f3 Mon Sep 17 00:00:00 2001 From: Tamo Date: Thu, 5 Jan 2023 20:52:26 +0100 Subject: [PATCH] fix the tests after the rebase --- meilisearch/tests/search/errors.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meilisearch/tests/search/errors.rs b/meilisearch/tests/search/errors.rs index 837e02808..163a63d6f 100644 --- a/meilisearch/tests/search/errors.rs +++ b/meilisearch/tests/search/errors.rs @@ -49,7 +49,7 @@ async fn search_invalid_crop_marker() { "message": String("invalid type: Map `{\"marker\":\"\"}`, expected a String at `.cropMarker`."), "code": String("invalid_search_crop_marker"), "type": String("invalid_request"), - "link": String("https://docs.meilisearch.com/errors#invalid_search_crop_marker"), + "link": String("https://docs.meilisearch.com/errors#invalid-search-crop-marker"), }, 400, ) @@ -63,7 +63,7 @@ async fn search_invalid_crop_marker() { "message": String("invalid type: Sequence `[\"marker\",\"\"]`, expected a String at `.cropMarker`."), "code": String("invalid_search_crop_marker"), "type": String("invalid_request"), - "link": String("https://docs.meilisearch.com/errors#invalid_search_crop_marker"), + "link": String("https://docs.meilisearch.com/errors#invalid-search-crop-marker"), }, 400, ) @@ -83,7 +83,7 @@ async fn search_invalid_highlight_pre_tag() { "message": String("invalid type: Map `{\"marker\":\"\"}`, expected a String at `.highlightPreTag`."), "code": String("invalid_search_highlight_pre_tag"), "type": String("invalid_request"), - "link": String("https://docs.meilisearch.com/errors#invalid_search_highlight_pre_tag"), + "link": String("https://docs.meilisearch.com/errors#invalid-search-highlight-pre-tag"), }, 400, ) @@ -97,7 +97,7 @@ async fn search_invalid_highlight_pre_tag() { "message": String("invalid type: Sequence `[\"marker\",\"\"]`, expected a String at `.highlightPreTag`."), "code": String("invalid_search_highlight_pre_tag"), "type": String("invalid_request"), - "link": String("https://docs.meilisearch.com/errors#invalid_search_highlight_pre_tag"), + "link": String("https://docs.meilisearch.com/errors#invalid-search-highlight-pre-tag"), }, 400, ) @@ -117,7 +117,7 @@ async fn search_invalid_highlight_post_tag() { "message": String("invalid type: Map `{\"marker\":\"\"}`, expected a String at `.highlightPostTag`."), "code": String("invalid_search_highlight_post_tag"), "type": String("invalid_request"), - "link": String("https://docs.meilisearch.com/errors#invalid_search_highlight_post_tag"), + "link": String("https://docs.meilisearch.com/errors#invalid-search-highlight-post-tag"), }, 400, ) @@ -131,7 +131,7 @@ async fn search_invalid_highlight_post_tag() { "message": String("invalid type: Sequence `[\"marker\",\"\"]`, expected a String at `.highlightPostTag`."), "code": String("invalid_search_highlight_post_tag"), "type": String("invalid_request"), - "link": String("https://docs.meilisearch.com/errors#invalid_search_highlight_post_tag"), + "link": String("https://docs.meilisearch.com/errors#invalid-search-highlight-post-tag"), }, 400, )