Code Review
/
ric-plt
/
a1.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Get Policy type Schema from policy id
[ric-plt/a1.git]
/
a1-go
/
pkg
/
resthooks
/
resthooks_test.go
diff --git
a/a1-go/pkg/resthooks/resthooks_test.go
b/a1-go/pkg/resthooks/resthooks_test.go
index
e8ea9fe
..
d804a27
100644
(file)
--- a/
a1-go/pkg/resthooks/resthooks_test.go
+++ b/
a1-go/pkg/resthooks/resthooks_test.go
@@
-96,3
+96,7
@@
func (s *SdlMock) SetIfNotExists(ns string, key string, data interface{}) (bool,
args := s.MethodCalled("SetIfNotExists", ns, key, data)
return args.Bool(0), nil
}
+
+func (s *SdlMock) Get(ns string, keys []string) (map[string]interface{}, error) {
+ return make(map[string]interface{}), nil
+}