mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 11:57:07 +02:00
requested changes
This commit is contained in:
parent
33c7c5a7e3
commit
d35a104ad3
3 changed files with 18 additions and 20 deletions
|
@ -1844,7 +1844,6 @@ async fn test_search_synonyms_unicased() {
|
|||
server.update_all_settings(settings).await;
|
||||
|
||||
let (response, _) = server.get_synonyms().await;
|
||||
println!("response: {}", response);
|
||||
assert_json_eq!(response, json!({"case":["machin", "truc"]}));
|
||||
|
||||
let update = json!([
|
||||
|
@ -1860,4 +1859,8 @@ async fn test_search_synonyms_unicased() {
|
|||
});
|
||||
let (response, _) = server.search_post(search).await;
|
||||
assert_eq!(response["hits"].as_array().unwrap().len(), 1);
|
||||
|
||||
server.delete_synonyms().await;
|
||||
let (response, _) = server.get_synonyms().await;
|
||||
assert_json_eq!(response, json!({}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue