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

Function TestMetadataCovCheckEndpointLocationBadURL

metadata_coverage_test.go:58–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

56}
57
58func TestMetadataCovCheckEndpointLocationBadURL(t *testing.T) {
59 _, err := checkEndpointLocation(HTTPPostBinding, "://no-scheme")
60 assert.Check(t, is.ErrorContains(err, "invalid url"))
61}
62
63func TestMetadataCovEndpointUnmarshal(t *testing.T) {
64 testCases := []struct {

Callers

nothing calls this directly

Calls 1

checkEndpointLocationFunction · 0.85

Tested by

no test coverage detected