From db7711d72ac90b77d509d230930656e794f5ff57 Mon Sep 17 00:00:00 2001 From: Andrew Block Date: Sun, 22 Dec 2019 00:32:05 -0500 Subject: [PATCH] Test cleanup --- connector/openshift/openshift_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/connector/openshift/openshift_test.go b/connector/openshift/openshift_test.go index a44e5f21..5d489259 100644 --- a/connector/openshift/openshift_test.go +++ b/connector/openshift/openshift_test.go @@ -52,7 +52,6 @@ func TestOpen(t *testing.T) { } func TestGetUser(t *testing.T) { - s := newTestServer(map[string]interface{}{ "/apis/user.openshift.io/v1/users/~": user{ ObjectMeta: k8sapi.ObjectMeta{ @@ -85,7 +84,6 @@ func TestGetUser(t *testing.T) { } func TestVerifyGroupFn(t *testing.T) { - requiredGroups := []string{"users"} groupMembership := []string{"users", "org1"} @@ -96,7 +94,6 @@ func TestVerifyGroupFn(t *testing.T) { } func TestVerifyGroup(t *testing.T) { - s := newTestServer(map[string]interface{}{ "/apis/user.openshift.io/v1/users/~": user{ ObjectMeta: k8sapi.ObjectMeta{ @@ -129,7 +126,6 @@ func TestVerifyGroup(t *testing.T) { } func TestCallbackIdentity(t *testing.T) { - s := newTestServer(map[string]interface{}{ "/apis/user.openshift.io/v1/users/~": user{ ObjectMeta: k8sapi.ObjectMeta{