Fix operator login not showing error (#2185)

* Fix operator login not showing error

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>

* Fix Test

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
This commit is contained in:
Daniel Valdivia
2022-07-22 10:21:25 -07:00
committed by GitHub
parent 417ea4d481
commit 9655fc4490
4 changed files with 12 additions and 6 deletions

View File

@@ -157,7 +157,7 @@ func TestBadLogin(t *testing.T) {
response, err := client.Do(request)
assert.Equal(response.StatusCode, 500, "Login request not rejected")
assert.Equal(401, response.StatusCode, "Login request not rejected")
assert.NotNil(response, "Login response is nil")
assert.Nil(err, "Login errored out")
}