summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/internal/rb/profile_test.go
diff options
context:
space:
mode:
authorRitu Sood <ritu.sood@intel.com>2021-10-15 13:58:21 +0000
committerGerrit Code Review <gerrit@onap.org>2021-10-15 13:58:21 +0000
commit0ea71e9b830e6d1ed60b3dc6312cd748b24ce739 (patch)
treeabbc4b0a50d0dce9b31c1628d6eb9a3e6d099580 /src/k8splugin/internal/rb/profile_test.go
parent206e9ecc81c4eec81a0471b4a24f3ae206bfe744 (diff)
parentb2f51225bc78212682fd087a4ef8a67c51a94188 (diff)
Merge "Expose Update Handlers"
Diffstat (limited to 'src/k8splugin/internal/rb/profile_test.go')
-rw-r--r--src/k8splugin/internal/rb/profile_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/k8splugin/internal/rb/profile_test.go b/src/k8splugin/internal/rb/profile_test.go
index 2a9dc4fd..e52897ce 100644
--- a/src/k8splugin/internal/rb/profile_test.go
+++ b/src/k8splugin/internal/rb/profile_test.go
@@ -105,7 +105,7 @@ func TestCreateProfile(t *testing.T) {
t.Run(testCase.label, func(t *testing.T) {
db.DBconn = testCase.mockdb
impl := NewProfileClient()
- got, err := impl.Create(testCase.inp)
+ got, err := impl.CreateOrUpdate(testCase.inp, false)
if err != nil {
if testCase.expectedError == "" {
t.Fatalf("Create returned an unexpected error %s", err)