mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-01-18 08:48:32 +08:00
Patch ranking rules error test
This commit is contained in:
parent
f5306eb5b0
commit
09938c9b6f
@ -283,7 +283,7 @@ async fn error_set_invalid_ranking_rules() {
|
|||||||
assert_eq!(response["status"], "failed");
|
assert_eq!(response["status"], "failed");
|
||||||
|
|
||||||
let expected_error = json!({
|
let expected_error = json!({
|
||||||
"message": r#"`manyTheFish` ranking rule is invalid. Valid ranking rules are Words, Typo, Sort, Proximity, Attribute, Exactness and custom ranking rules."#,
|
"message": r#"`manyTheFish` ranking rule is invalid. Valid ranking rules are words, typo, sort, proximity, attribute, exactness and custom ranking rules."#,
|
||||||
"code": "invalid_ranking_rule",
|
"code": "invalid_ranking_rule",
|
||||||
"type": "invalid_request",
|
"type": "invalid_request",
|
||||||
"link": "https://docs.meilisearch.com/errors#invalid_ranking_rule"
|
"link": "https://docs.meilisearch.com/errors#invalid_ranking_rule"
|
||||||
|
Loading…
Reference in New Issue
Block a user