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, )