From 0ac37d39642a882bdbd31e6db088be4756bab9e8 Mon Sep 17 00:00:00 2001 From: Dominik Froehlich Date: Tue, 26 Mar 2024 13:57:03 +0100 Subject: [PATCH] refactor: Code review --- integration/tls_to_backends_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration/tls_to_backends_test.go b/integration/tls_to_backends_test.go index a39bebad..a627c234 100644 --- a/integration/tls_to_backends_test.go +++ b/integration/tls_to_backends_test.go @@ -112,6 +112,7 @@ var _ = Describe("TLS to backends", func() { Expect(resp.StatusCode).To(Equal(404)) data, err := io.ReadAll(resp.Body) + Expect(err).To(Not(HaveOccurred())) resp.Body.Close() Expect(string(data)).To(ContainSubstring("beginning of the response body goes here"))