mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
test delete settings
This commit is contained in:
parent
7d9c5f64aa
commit
3f939f3ccf
2 changed files with 15 additions and 0 deletions
|
@ -50,6 +50,16 @@ async fn test_partial_update() {
|
|||
assert_eq!(response["searchableAttributes"],json!(["bar"]));
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
#[ignore]
|
||||
// need fix #54
|
||||
async fn delete_settings_unexisting_index() {
|
||||
let server = Server::new().await;
|
||||
let index = server.index("test");
|
||||
let (_response, code) = index.delete_settings().await;
|
||||
assert_eq!(code, 400);
|
||||
}
|
||||
|
||||
#[actix_rt::test]
|
||||
async fn update_setting_unexisting_index() {
|
||||
let server = Server::new().await;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue