Skip to content

Commit

Permalink
fix(tests): 401 or 403 for unauthorized
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Clucas <alan@clucas.org>
  • Loading branch information
Joibel committed Sep 16, 2024
1 parent 8b476d3 commit 61a9d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/argo_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}

Expand Down

0 comments on commit 61a9d5c

Please sign in to comment.