mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
ensure the reset_settings also return a 202
This commit is contained in:
parent
c8b05712fa
commit
6b4ea7f594
@ -104,6 +104,8 @@ async fn update_setting_unexisting_index() {
|
|||||||
assert_eq!(code, 202);
|
assert_eq!(code, 202);
|
||||||
let (_response, code) = index.get().await;
|
let (_response, code) = index.get().await;
|
||||||
assert_eq!(code, 200);
|
assert_eq!(code, 200);
|
||||||
|
let (_response, code) = index.delete_settings().await;
|
||||||
|
assert_eq!(code, 202);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[actix_rt::test]
|
#[actix_rt::test]
|
||||||
|
Loading…
Reference in New Issue
Block a user