From 6732dd95d77f605bf946139844e5379d57fed320 Mon Sep 17 00:00:00 2001 From: Louis Dureuil Date: Mon, 16 Sep 2024 15:18:32 +0200 Subject: [PATCH] Update tests --- meilisearch/tests/search/multi.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/meilisearch/tests/search/multi.rs b/meilisearch/tests/search/multi.rs index f9da8877d..0eeca4ce9 100644 --- a/meilisearch/tests/search/multi.rs +++ b/meilisearch/tests/search/multi.rs @@ -3989,9 +3989,9 @@ async fn federation_non_faceted_for_an_index() { 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 attributes are `BOOST, id`.\n Note: index `fruits-no-name` used in `.queries[1]`", - "code": "invalid_search_facets", + "code": "invalid_multi_search_facets", "type": "invalid_request", - "link": "https://docs.meilisearch.com/errors#invalid_search_facets" + "link": "https://docs.meilisearch.com/errors#invalid_multi_search_facets" } "###); @@ -4011,9 +4011,9 @@ async fn federation_non_faceted_for_an_index() { 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 attributes are `BOOST, id`.\n Note: index `fruits-no-name` is not used in queries", - "code": "invalid_search_facets", + "code": "invalid_multi_search_facets", "type": "invalid_request", - "link": "https://docs.meilisearch.com/errors#invalid_search_facets" + "link": "https://docs.meilisearch.com/errors#invalid_multi_search_facets" } "###); @@ -4034,9 +4034,9 @@ async fn federation_non_faceted_for_an_index() { insta::assert_json_snapshot!(response, { ".processingTimeMs" => "[time]" }, @r###" { "message": "Inside `.federation.facetsByIndex.fruits-no-facets`: Invalid facet distribution, this index does not have configured filterable attributes.\n Note: index `fruits-no-facets` is not used in queries", - "code": "invalid_search_facets", + "code": "invalid_multi_search_facets", "type": "invalid_request", - "link": "https://docs.meilisearch.com/errors#invalid_search_facets" + "link": "https://docs.meilisearch.com/errors#invalid_multi_search_facets" } "###);