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

Function TestManualSignInCorrectCredentials

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

Source from the content-addressed store, hash-verified

709}
710
711func TestManualSignInCorrectCredentials(t *testing.T) {
712 statusCode := ManualSignInWithCredentials(t, "admin", "adminPass")
713 assert.Equal(t, http.StatusFound, statusCode)
714}
715
716func TestSignInPageClearsExistingSessionCookie(t *testing.T) {
717 opts := baseTestOptions()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected