fix tests

This commit is contained in:
marin postma 2021-06-15 22:21:52 +02:00
parent 0d3fb5ee0d
commit 0dfd1b74c8
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
10 changed files with 23 additions and 22 deletions

View file

@ -12,7 +12,7 @@ async fn create_and_delete_index() {
assert_eq!(code, 204);
assert_eq!(index.get().await.1, 400);
assert_eq!(index.get().await.1, 404);
}
#[actix_rt::test]
@ -21,5 +21,5 @@ async fn delete_unexisting_index() {
let index = server.index("test");
let (_response, code) = index.delete().await;
assert_eq!(code, 400);
assert_eq!(code, 404);
}