fixed the failing tests from snapshots

This commit is contained in:
CodeMan62 2025-03-20 17:55:12 +05:30
parent e2c824a7cd
commit 9aee12c906
4 changed files with 8 additions and 8 deletions

View file

@ -3669,7 +3669,7 @@ async fn federation_non_faceted_for_an_index() {
snapshot!(code, @"400 Bad Request");
insta::assert_json_snapshot!(response, { ".processingTimeMs" => "[time]" }, @r###"
{
"message": "Inside `.federation.facetsByIndex.fruits-no-name`: Invalid facet distribution, attribute `name` is not filterable. The available filterable attribute patterns are `BOOST, id`.\n - Note: index `fruits-no-name` is not used in queries",
"message": "Inside `.federation.facetsByIndex.fruits-no-name`: Invalid facet distribution: Attribute `name` is not filterable. Available filterable attributes patterns are: `BOOST, id`.\n - Note: index `fruits-no-name` is not used in queries",
"code": "invalid_multi_search_facets",
"type": "invalid_request",
"link": "https://docs.meilisearch.com/errors#invalid_multi_search_facets"

View file

@ -1414,10 +1414,10 @@ async fn error_remote_does_not_answer() {
"estimatedTotalHits": 3,
"remoteErrors": {
"ms2": {
"message": "error sending request",
"code": "remote_could_not_send_request",
"message": "remote host did not answer before the deadline",
"code": "remote_timeout",
"type": "system",
"link": "https://docs.meilisearch.com/errors#remote_could_not_send_request"
"link": "https://docs.meilisearch.com/errors#remote_timeout"
}
}
}