Fix merge issue 55/83755/1
authorKiran Kamineni <kiran.k.kamineni@intel.com>
Fri, 29 Mar 2019 16:33:43 +0000 (09:33 -0700)
committerKiran Kamineni <kiran.k.kamineni@intel.com>
Fri, 29 Mar 2019 16:33:50 +0000 (09:33 -0700)
The TestUpdate method was updated properly with the
merge on to master. This fixes that issue.

Issue-ID: MULTICLOUD-553
Change-Id: I97c95b628fade37304590de59bb4bb6faaeb4450
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
src/k8splugin/internal/db/mongo_test.go

index 3a7e425..71aaf86 100644 (file)
@@ -155,7 +155,7 @@ func TestUpdate(t *testing.T) {
                        label: "Successfull update of entry",
                        input: map[string]interface{}{
                                "coll": "collname",
-                               "key":  mockKey{Key: "keyvalue"},
+                               "key":  MockKey{Key: "keyvalue"},
                                "tag":  "metadata",
                                "data": "Data In String Format",
                        },
@@ -184,7 +184,7 @@ func TestUpdate(t *testing.T) {
                        label: "Entry does not exist",
                        input: map[string]interface{}{
                                "coll": "collname",
-                               "key":  mockKey{Key: "keyvalue"},
+                               "key":  MockKey{Key: "keyvalue"},
                                "tag":  "tagName",
                                "data": "Data In String Format",
                        },