Code Review
/
ric-plt
/
sdlgo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
SDL CLI 'get' reads keys data in the given namespace
[ric-plt/sdlgo.git]
/
internal
/
mocks
/
db_mocks_private_testing.go
diff --git
a/internal/mocks/db_mocks_private_testing.go
b/internal/mocks/db_mocks_private_testing.go
index
06927cb
..
a17f7d3
100644
(file)
--- a/
internal/mocks/db_mocks_private_testing.go
+++ b/
internal/mocks/db_mocks_private_testing.go
@@
-59,3
+59,8
@@
func (m *MockSdlApi) Remove(ns string, keys []string) error {
a := m.Called(ns, keys)
return a.Error(0)
}
+
+func (m *MockSdlApi) Get(ns string, keys []string) (map[string]interface{}, error) {
+ a := m.Called(ns, keys)
+ return a.Get(0).(map[string]interface{}), a.Error(1)
+}