Skip to content

Commit

Permalink
coverage (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelmaliy authored Apr 5, 2021
1 parent 9194385 commit 71a15fb
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions api/v1alpha1/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package v1alpha1
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
v1 "k8s.io/api/authentication/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"testing"
Expand Down Expand Up @@ -35,6 +36,11 @@ func getBinding() *ServiceBinding {
},
},
},
UserInfo: &v1.UserInfo{
Username: "test-user",
Groups: []string{"test-group"},
Extra: map[string]v1.ExtraValue{"key": {"val"}},
},
},

Status: ServiceBindingStatus{},
Expand Down Expand Up @@ -65,6 +71,11 @@ func getInstance() *ServiceInstance {
},
},
},
UserInfo: &v1.UserInfo{
Username: "test-user",
Groups: []string{"test-group"},
Extra: map[string]v1.ExtraValue{"key": {"val"}},
},
},

Status: ServiceInstanceStatus{},
Expand Down

0 comments on commit 71a15fb

Please sign in to comment.