MCPcopy
hub / github.com/oauth2-proxy/oauth2-proxy / TestManualSignInInvalidCredentialsAlert

Function TestManualSignInInvalidCredentialsAlert

oauthproxy_test.go:706–709  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

704}
705
706func TestManualSignInInvalidCredentialsAlert(t *testing.T) {
707 statusCode := ManualSignInWithCredentials(t, "admin", "")
708 assert.Equal(t, http.StatusUnauthorized, statusCode)
709}
710
711func TestManualSignInCorrectCredentials(t *testing.T) {
712 statusCode := ManualSignInWithCredentials(t, "admin", "adminPass")

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected