Fix tests

This commit is contained in:
Louis Dureuil 2025-02-24 13:57:25 +01:00
parent 9f3e4801b1
commit e374b095a2
No known key found for this signature in database
11 changed files with 15 additions and 13 deletions

View file

@ -916,7 +916,7 @@ async fn bad_settings() {
snapshot!(code, @"400 Bad Request");
snapshot!(response, @r###"
{
"message": "`.embedders.rest`: Missing field `request` (note: this field is mandatory for source rest)",
"message": "`.embedders.rest`: Missing field `request` (note: this field is mandatory for source `rest`)",
"code": "invalid_settings_embedders",
"type": "invalid_request",
"link": "https://docs.meilisearch.com/errors#invalid_settings_embedders"
@ -933,7 +933,7 @@ async fn bad_settings() {
snapshot!(code, @"400 Bad Request");
snapshot!(response, @r###"
{
"message": "`.embedders.rest`: Missing field `response` (note: this field is mandatory for source rest)",
"message": "`.embedders.rest`: Missing field `response` (note: this field is mandatory for source `rest`)",
"code": "invalid_settings_embedders",
"type": "invalid_request",
"link": "https://docs.meilisearch.com/errors#invalid_settings_embedders"