diff options
author | Ritu Sood <Ritu.Sood@intel.com> | 2019-08-19 22:27:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-19 22:27:28 +0000 |
commit | 49ea7e46428c70fb553f6785b1ce22882f64c259 (patch) | |
tree | 6d40bc90e598592aba33c5d721f3f92fdc2f33ca /src/k8splugin/api/brokerhandler_test.go | |
parent | 3f122fd2ac12ac9110c65924070732836de4ce8a (diff) | |
parent | f22ab29dff2b69aaadd748c34c259f25dacec52d (diff) |
Merge "Add query parameters support to instance API"
Diffstat (limited to 'src/k8splugin/api/brokerhandler_test.go')
-rw-r--r-- | src/k8splugin/api/brokerhandler_test.go | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/k8splugin/api/brokerhandler_test.go b/src/k8splugin/api/brokerhandler_test.go index 319c64e7..8ef5e184 100644 --- a/src/k8splugin/api/brokerhandler_test.go +++ b/src/k8splugin/api/brokerhandler_test.go @@ -285,7 +285,7 @@ func TestBrokerFindHandler(t *testing.T) { }, }, instClient: &mockInstanceClient{ - items: []app.InstanceResponse{ + miniitems: []app.InstanceMiniResponse{ { ID: "HaKpys8e", Request: app.InstanceRequest{ @@ -295,22 +295,6 @@ func TestBrokerFindHandler(t *testing.T) { CloudRegion: "region1", }, Namespace: "testnamespace", - Resources: []helm.KubernetesResource{ - { - GVK: schema.GroupVersionKind{ - Group: "apps", - Version: "v1", - Kind: "Deployment"}, - Name: "test-deployment", - }, - { - GVK: schema.GroupVersionKind{ - Group: "", - Version: "v1", - Kind: "Service"}, - Name: "test-service", - }, - }, }, }, }, |