Skip to content

Commit 8b8910d

Browse files
committed
Expect NOT_FOUND / 404 status code in NoSuchKey error response
1 parent 965d6bb commit 8b8910d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ mod tests {
222222
message: "NoSuchKeyException".to_string(),
223223
};
224224
let mock_server = mockito::mock("POST", GET_OBJECT_ENDPOINT)
225-
.with_status(409)
225+
.with_status(404)
226226
.with_body(&error_response.encode_to_vec())
227227
.create();
228228

0 commit comments

Comments
 (0)