(newDestination string)
| 1073 | } |
| 1074 | |
| 1075 | func (test *ServiceProviderTest) replaceDestination(newDestination string) { |
| 1076 | newStr := "" |
| 1077 | if newDestination != "" { |
| 1078 | newStr = `Destination="` + newDestination + `"` |
| 1079 | } |
| 1080 | test.SamlResponse = bytes.Replace(test.SamlResponse, |
| 1081 | []byte(`Destination="https://15661444.ngrok.io/saml2/acs"`), []byte(newStr), 1) |
| 1082 | } |
| 1083 | |
| 1084 | func TestSPCanProcessResponseWithoutDestination(t *testing.T) { |
| 1085 | test := NewServiceProviderTest(t) |
no outgoing calls
no test coverage detected