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

@ -60,5 +60,5 @@ async fn update_existing_primary_key() {
async fn test_unexisting_index() {
let server = Server::new().await;
let (_response, code) = server.index("test").update(None).await;
assert_eq!(code, 400);
assert_eq!(code, 404);
}