Browse Source

Test cleanup

pull/1599/head
Andrew Block 6 years ago
parent
commit
db7711d72a
No known key found for this signature in database
GPG Key ID: 2DFE631AEF35EBC
  1. 4
      connector/openshift/openshift_test.go

4
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{

Loading…
Cancel
Save