From 7e89d8ca2498f1ee7f180ec47023f2b438dfec8e Mon Sep 17 00:00:00 2001 From: Andrew Block Date: Sun, 22 Dec 2019 01:46:35 -0500 Subject: [PATCH] Resolved newline issues --- connector/openshift/openshift_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/connector/openshift/openshift_test.go b/connector/openshift/openshift_test.go index 407531e7..89910942 100644 --- a/connector/openshift/openshift_test.go +++ b/connector/openshift/openshift_test.go @@ -12,9 +12,8 @@ import ( "github.com/dexidp/dex/connector" "github.com/dexidp/dex/storage/kubernetes/k8sapi" - "golang.org/x/oauth2" - "github.com/sirupsen/logrus" + "golang.org/x/oauth2" ) func TestOpen(t *testing.T) { @@ -168,7 +167,6 @@ func TestCallbackIdentity(t *testing.T) { func newTestServer(responses map[string]interface{}) *httptest.Server { var s *httptest.Server s = httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - responses["/.well-known/oauth-authorization-server"] = map[string]interface{}{ "issuer": s.URL, "authorization_endpoint": fmt.Sprintf("%s/oauth/authorize", s.URL),