summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/api/handler_test.go
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2019-03-22 00:12:20 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-22 00:12:20 +0000
commit838ddaa50041ac4c33adeb2c8a33340fdfe2c952 (patch)
treec040b9abe068aa8f875e22ec89cbfe1ab0f0dace /src/k8splugin/api/handler_test.go
parent7830bf49fbdcf1b726dc8dc3aca3638fb2195e66 (diff)
parent7f6bf1f5bbf3befbacb6b77e617c95fb371c4ef4 (diff)
Merge "NewRouter supports custom backend clients"
Diffstat (limited to 'src/k8splugin/api/handler_test.go')
-rw-r--r--src/k8splugin/api/handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/api/handler_test.go b/src/k8splugin/api/handler_test.go
index c34ceec8..fccda3f4 100644
--- a/src/k8splugin/api/handler_test.go
+++ b/src/k8splugin/api/handler_test.go
@@ -48,7 +48,7 @@ func (c *mockCSAR) DestroyVNF(data map[string][]string, namespace string,
}
func executeRequest(req *http.Request) *httptest.ResponseRecorder {
- router := NewRouter("")
+ router := NewRouter("", nil, nil)
recorder := httptest.NewRecorder()
router.ServeHTTP(recorder, req)