@@ -47,21 +47,3 @@ func TestAcrValuesConfigured(t *testing.T) {
47 result := p.GetLoginURL("https://my.test.app/oauth", "")
47 result := p.GetLoginURL("https://my.test.app/oauth", "")
48 assert.Contains(t, result, "acr_values=testValue")
48 assert.Contains(t, result, "acr_values=testValue")
51−func TestProtectedResourceConfigured(t *testing.T) {
56− Path: "/oauth/authorize",
58− AcrValues: "testValue",
59− ProtectedResource: &url.URL{
61− Host: "my.resource.test",
65− result := p.GetLoginURL("https://my.test.app/oauth", "")
66− assert.Contains(t, result, "resource="+url.QueryEscape("http://my.resource.test"))