Skip to content
Snippets Groups Projects
Unverified Commit db7711d7 authored by Andrew Block's avatar Andrew Block
Browse files

Test cleanup

parent 5881a2cf
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,6 @@ func TestOpen(t *testing.T) { ...@@ -52,7 +52,6 @@ func TestOpen(t *testing.T) {
} }
func TestGetUser(t *testing.T) { func TestGetUser(t *testing.T) {
s := newTestServer(map[string]interface{}{ s := newTestServer(map[string]interface{}{
"/apis/user.openshift.io/v1/users/~": user{ "/apis/user.openshift.io/v1/users/~": user{
ObjectMeta: k8sapi.ObjectMeta{ ObjectMeta: k8sapi.ObjectMeta{
...@@ -85,7 +84,6 @@ func TestGetUser(t *testing.T) { ...@@ -85,7 +84,6 @@ func TestGetUser(t *testing.T) {
} }
func TestVerifyGroupFn(t *testing.T) { func TestVerifyGroupFn(t *testing.T) {
requiredGroups := []string{"users"} requiredGroups := []string{"users"}
groupMembership := []string{"users", "org1"} groupMembership := []string{"users", "org1"}
...@@ -96,7 +94,6 @@ func TestVerifyGroupFn(t *testing.T) { ...@@ -96,7 +94,6 @@ func TestVerifyGroupFn(t *testing.T) {
} }
func TestVerifyGroup(t *testing.T) { func TestVerifyGroup(t *testing.T) {
s := newTestServer(map[string]interface{}{ s := newTestServer(map[string]interface{}{
"/apis/user.openshift.io/v1/users/~": user{ "/apis/user.openshift.io/v1/users/~": user{
ObjectMeta: k8sapi.ObjectMeta{ ObjectMeta: k8sapi.ObjectMeta{
...@@ -129,7 +126,6 @@ func TestVerifyGroup(t *testing.T) { ...@@ -129,7 +126,6 @@ func TestVerifyGroup(t *testing.T) {
} }
func TestCallbackIdentity(t *testing.T) { func TestCallbackIdentity(t *testing.T) {
s := newTestServer(map[string]interface{}{ s := newTestServer(map[string]interface{}{
"/apis/user.openshift.io/v1/users/~": user{ "/apis/user.openshift.io/v1/users/~": user{
ObjectMeta: k8sapi.ObjectMeta{ ObjectMeta: k8sapi.ObjectMeta{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment