Skip to content

Commit 6bdf104

Browse files
committed
Expect NOT_FOUND / 404 status code in NoSuchKey error response
1 parent a25ed48 commit 6bdf104

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/tests.rs

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

0 commit comments

Comments
 (0)