mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-15 13:58:36 +02:00
Fix tests
This commit is contained in:
parent
a918561ac1
commit
59115fd058
1 changed files with 3 additions and 2 deletions
|
@ -55,7 +55,7 @@ async fn get_settings() {
|
||||||
let (response, code) = index.settings().await;
|
let (response, code) = index.settings().await;
|
||||||
assert_eq!(code, 200);
|
assert_eq!(code, 200);
|
||||||
let settings = response.as_object().unwrap();
|
let settings = response.as_object().unwrap();
|
||||||
assert_eq!(settings.keys().len(), 16);
|
assert_eq!(settings.keys().len(), 17);
|
||||||
assert_eq!(settings["displayedAttributes"], json!(["*"]));
|
assert_eq!(settings["displayedAttributes"], json!(["*"]));
|
||||||
assert_eq!(settings["searchableAttributes"], json!(["*"]));
|
assert_eq!(settings["searchableAttributes"], json!(["*"]));
|
||||||
assert_eq!(settings["filterableAttributes"], json!([]));
|
assert_eq!(settings["filterableAttributes"], json!([]));
|
||||||
|
@ -195,7 +195,8 @@ async fn secrets_are_hidden_in_settings() {
|
||||||
"response": "{{embedding}}"
|
"response": "{{embedding}}"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"searchCutoffMs": null
|
"searchCutoffMs": null,
|
||||||
|
"localizedAttributes": null
|
||||||
}
|
}
|
||||||
"###);
|
"###);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue