(newDestination string)
| 924 | } |
| 925 | |
| 926 | func (test *ServiceProviderTest) replaceDestination(newDestination string) { |
| 927 | newStr := "" |
| 928 | if newDestination != "" { |
| 929 | newStr = `Destination="` + newDestination + `"` |
| 930 | } |
| 931 | test.SamlResponse = bytes.Replace(test.SamlResponse, |
| 932 | []byte(`Destination="https://15661444.ngrok.io/saml2/acs"`), []byte(newStr), 1) |
| 933 | } |
| 934 | |
| 935 | func TestSPCanProcessResponseWithoutDestination(t *testing.T) { |
| 936 | test := NewServiceProviderTest(t) |
no outgoing calls
no test coverage detected