mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
fix all the tests
This commit is contained in:
parent
4456df5a46
commit
dd128656cb
6 changed files with 21 additions and 14 deletions
|
@ -285,7 +285,7 @@ async fn secrets_are_hidden_in_settings() {
|
|||
|
||||
let (response, code) = index.settings().await;
|
||||
meili_snap::snapshot!(code, @"200 OK");
|
||||
meili_snap::snapshot!(meili_snap::json_string!(response), @r###"
|
||||
meili_snap::snapshot!(meili_snap::json_string!(response), @r#"
|
||||
{
|
||||
"displayedAttributes": [
|
||||
"*"
|
||||
|
@ -346,11 +346,11 @@ async fn secrets_are_hidden_in_settings() {
|
|||
"facetSearch": true,
|
||||
"prefixSearch": "indexingTime"
|
||||
}
|
||||
"###);
|
||||
"#);
|
||||
|
||||
let (response, code) = server.get_task(settings_update_uid).await;
|
||||
meili_snap::snapshot!(code, @"200 OK");
|
||||
meili_snap::snapshot!(meili_snap::json_string!(response["details"]), @r###"
|
||||
meili_snap::snapshot!(meili_snap::json_string!(response["details"]), @r#"
|
||||
{
|
||||
"embedders": {
|
||||
"default": {
|
||||
|
@ -363,7 +363,7 @@ async fn secrets_are_hidden_in_settings() {
|
|||
}
|
||||
}
|
||||
}
|
||||
"###);
|
||||
"#);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue