(param, value string)
| 25 | } |
| 26 | |
| 27 | func covURL(param, value string) *url.URL { |
| 28 | return &url.URL{ |
| 29 | Scheme: "https", |
| 30 | Host: "idp.example.com", |
| 31 | Path: "/saml", |
| 32 | RawQuery: url.Values{param: {value}}.Encode(), |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | func TestParseRedirect(t *testing.T) { |
| 37 | const payload = `<samlp:AuthnRequest ID="id-1"></samlp:AuthnRequest>` |
no test coverage detected