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
Moving RMR message reciver into go routine
[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
a9fcc1e
..
ac3dc25
100644
(file)
--- a/
a1-go/pkg/resthooks/resthooks_test.go
+++ b/
a1-go/pkg/resthooks/resthooks_test.go
@@
-230,8
+230,9
@@
func TestGetPolicyInstanceStatus(t *testing.T) {
keys[0] = instancekey
sdlInst.On("Get", a1MediatorNs, keys[:]).Return(httpBody)
keys[0] = instancekey
sdlInst.On("Get", a1MediatorNs, keys[:]).Return(httpBody)
- resp := rh.GetPolicyInstanceStatus(policyTypeId, policyInstanceID)
+ resp
, errresp
:= rh.GetPolicyInstanceStatus(policyTypeId, policyInstanceID)
+ assert.Nil(t, errresp)
assert.NotNil(t, resp)
sdlInst.AssertExpectations(t)
}
assert.NotNil(t, resp)
sdlInst.AssertExpectations(t)
}