Skip to content

Commit

Permalink
test: b is no longer used
Browse files Browse the repository at this point in the history
  • Loading branch information
zucchinidev committed Aug 26, 2024
1 parent d52b097 commit 137e1e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acceptance-tests/s3withvpcendpoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ var _ = Describe("S3 with allowed VPC", Label("VPCEndpointS3"), Ordered, func()
http.StatusFailedDependency),
"there is not file to be retrieved",
)
b, err = io.ReadAll(httpResponse.Body)
b, err := io.ReadAll(httpResponse.Body)
Expect(err).ToNot(HaveOccurred(), "error reading response body in S3 API call after deletion")
Expect(string(b)).To(ContainSubstring("operation error S3: GetObject, https response error StatusCode: 404"), "file does not exist in the bucket")
})
Expand Down

0 comments on commit 137e1e6

Please sign in to comment.