From ca6b61f639361cba725535747cdf854f2322d2b8 Mon Sep 17 00:00:00 2001 From: Manuel Alejandro de Brito Fontes Date: Sun, 23 Jun 2019 22:33:40 -0400 Subject: [PATCH] Update e2e tests for openresty --- test/e2e/annotations/redirect.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/annotations/redirect.go b/test/e2e/annotations/redirect.go index 7e6171ba8..a165a7e5a 100644 --- a/test/e2e/annotations/redirect.go +++ b/test/e2e/annotations/redirect.go @@ -72,7 +72,7 @@ var _ = framework.IngressNginxDescribe("Annotations - Redirect", func() { Expect(errs).To(BeNil()) Expect(resp.StatusCode).Should(BeNumerically("==", http.StatusMovedPermanently)) Expect(resp.Header.Get("Location")).Should(Equal(redirectURL)) - Expect(body).Should(ContainSubstring("nginx/")) + Expect(body).Should(ContainSubstring("openresty/")) }) It("should respond with a custom redirect code", func() { @@ -108,6 +108,6 @@ var _ = framework.IngressNginxDescribe("Annotations - Redirect", func() { Expect(errs).To(BeNil()) Expect(resp.StatusCode).Should(BeNumerically("==", redirectCode)) Expect(resp.Header.Get("Location")).Should(Equal(redirectURL)) - Expect(body).Should(ContainSubstring("nginx/")) + Expect(body).Should(ContainSubstring("openresty/")) }) })