diff options
author | 2021-08-16 12:30:26 +0100 | |
---|---|---|
committer | 2021-08-17 11:54:08 +0100 | |
commit | 4571ab67d1b3d24d5f046a38055bcf34910cc785 (patch) | |
tree | e6b0da17516efb266cafa6df48836ef7698133c8 /cps-ncmp-service/src/test/groovy | |
parent | dca30738006c456afd807512a2f80c207b53d3c6 (diff) |
Fix Sonar Qube Violations
Issue-ID: CPS-475
Signed-off-by: lukegleeson <luke.gleeson@est.tech>
Change-Id: I9673fe8ff5373a1ea50df148ac2a3d8af235e508
Diffstat (limited to 'cps-ncmp-service/src/test/groovy')
-rw-r--r-- | cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy index d3c67cd20..6d53e4067 100644 --- a/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy +++ b/cps-ncmp-service/src/test/groovy/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServiceImplSpec.groovy @@ -99,7 +99,7 @@ class NetworkCmProxyDataServiceImplSpec extends Specification { def dmiPluginRegistration = new DmiPluginRegistration() dmiPluginRegistration.dmiPlugin = 'my-server' def cmHandle = new CmHandle() - cmHandle.cmHandle = '123' + cmHandle.cmHandleID = '123' cmHandle.cmHandleProperties = [ name1: 'value1', name2: 'value2'] dmiPluginRegistration.createdCmHandles = [ cmHandle ] def expectedJsonData = '{"cm-handles":[{"id":"123","dmi-service-name":"my-server","additional-properties":[{"name":"name1","value":"value1"},{"name":"name2","value":"value2"}]}]}' |