MCPcopy Create free account
hub / github.com/crewjam/saml / TestIDPStatusErrorMessage

Function TestIDPStatusErrorMessage

idp_error_response_test.go:169–173  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

167}
168
169func TestIDPStatusErrorMessage(t *testing.T) {
170 assert.Check(t, is.Equal("saml: status "+StatusResponder, (&StatusError{TopLevel: StatusResponder}).Error()))
171 assert.Check(t, is.Equal("saml: status "+StatusResponder+" ("+StatusNoPassive+"): no UI",
172 (&StatusError{TopLevel: StatusResponder, SecondLevel: StatusNoPassive, Message: "no UI"}).Error()))
173}
174
175func TestIDPServeSSOAssertionMakerStatusError(t *testing.T) {
176 test := idpErrNewTest(t)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected