From 61a9d5c440575e2dd473dd8c51a58158138187ce Mon Sep 17 00:00:00 2001 From: Alan Clucas Date: Mon, 16 Sep 2024 15:59:23 +0100 Subject: [PATCH] fix(tests): 401 or 403 for unauthorized Signed-off-by: Alan Clucas --- test/e2e/argo_server_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/argo_server_test.go b/test/e2e/argo_server_test.go index d9112d8b038c..177e31ceb27e 100644 --- a/test/e2e/argo_server_test.go +++ b/test/e2e/argo_server_test.go @@ -351,7 +351,7 @@ func (s *ArgoServerSuite) TestUnauthorized() { defer func() { s.username = "" }() s.e().GET("/api/v1/workflows/argo"). Expect(). - Status(401) + StatusRange(httpexpect.Status4xx) }) }