ensure the reset_settings also return a 202

This commit is contained in:
Irevoire
2021-03-17 15:09:13 +01:00
parent c8b05712fa
commit 6b4ea7f594

View File

@ -104,6 +104,8 @@ async fn update_setting_unexisting_index() {
assert_eq!(code, 202);
let (_response, code) = index.get().await;
assert_eq!(code, 200);
let (_response, code) = index.delete_settings().await;
assert_eq!(code, 202);
}
#[actix_rt::test]