diff options
Diffstat (limited to 'src/k8splugin/api/brokerhandler_test.go')
-rw-r--r-- | src/k8splugin/api/brokerhandler_test.go | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/src/k8splugin/api/brokerhandler_test.go b/src/k8splugin/api/brokerhandler_test.go index e7ff08c4..82894412 100644 --- a/src/k8splugin/api/brokerhandler_test.go +++ b/src/k8splugin/api/brokerhandler_test.go @@ -112,10 +112,12 @@ func TestBrokerCreateHandler(t *testing.T) { items: []app.InstanceResponse{ { ID: "HaKpys8e", - RBName: "test-rbdef", - RBVersion: "v1", - ProfileName: "profile1", - CloudRegion: "region1", + Request: app.InstanceRequest{ + RBName: "test-rbdef", + RBVersion: "v1", + ProfileName: "profile1", + CloudRegion: "region1", + }, Namespace: "testnamespace", Resources: []helm.KubernetesResource{ { @@ -195,10 +197,12 @@ func TestBrokerGetHandler(t *testing.T) { items: []app.InstanceResponse{ { ID: "HaKpys8e", - RBName: "test-rbdef", - RBVersion: "v1", - ProfileName: "profile1", - CloudRegion: "region1", + Request: app.InstanceRequest{ + RBName: "test-rbdef", + RBVersion: "v1", + ProfileName: "profile1", + CloudRegion: "region1", + }, Namespace: "testnamespace", Resources: []helm.KubernetesResource{ { |