delete index returns 204 instead of 200

This commit is contained in:
mpostma 2021-03-15 18:44:33 +01:00
parent 0c17b166df
commit 58fab035bb
No known key found for this signature in database
GPG key ID: CBC8A7C1D7A28C3A
2 changed files with 2 additions and 2 deletions

View file

@ -10,7 +10,7 @@ async fn create_and_delete_index() {
let (_response, code) = index.delete().await;
assert_eq!(code, 200);
assert_eq!(code, 204);
assert_eq!(index.get().await.1, 400);
}