diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2022-06-20 10:45:28 +0100 |
---|---|---|
committer | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2022-06-21 11:16:34 +0100 |
commit | 6f40c0dc91bd115e2935ccbfc11c50d1c8f40fbe (patch) | |
tree | 7704139e4ea17e1338a8bb7c76294f3c9a2bab3e /runtime-acm/src/test/java | |
parent | 606853eb526ee836c436f29acb3edfc6ed7f63f2 (diff) |
Update service template for PMSH usecase with ACM
Issue-ID: POLICY-4240
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I169551637a48bcf5f4f7dc42dadbdc13a769f016
Diffstat (limited to 'runtime-acm/src/test/java')
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/CommissioningProviderTest.java b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/CommissioningProviderTest.java index 152171f9e..698439d35 100644 --- a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/CommissioningProviderTest.java +++ b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/CommissioningProviderTest.java @@ -139,7 +139,7 @@ class CommissioningProviderTest { Map<String, ToscaNodeTemplate> nodeTemplates = returnedServiceTemplate.getToscaTopologyTemplate().getNodeTemplates(); - assertThat(nodeTemplates).hasSize(8); + assertThat(nodeTemplates).hasSize(7); } /** @@ -168,7 +168,7 @@ class CommissioningProviderTest { assertThat(returnedServiceTemplate).isNotNull(); ToscaServiceTemplate parsedServiceTemplate = CODER.decode(returnedServiceTemplate, ToscaServiceTemplate.class); - assertThat(parsedServiceTemplate.getToscaTopologyTemplate().getNodeTemplates()).hasSize(8); + assertThat(parsedServiceTemplate.getToscaTopologyTemplate().getNodeTemplates()).hasSize(7); } /** diff --git a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/rest/CommissioningControllerTest.java b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/rest/CommissioningControllerTest.java index cd6823257..5aa2f5a53 100644 --- a/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/rest/CommissioningControllerTest.java +++ b/runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/rest/CommissioningControllerTest.java @@ -166,7 +166,7 @@ class CommissioningControllerTest extends CommonRestController { Map<String, ToscaNodeTemplate> commonProperties = rawresp.readEntity(Map.class); assertNotNull(commonProperties); - assertThat(commonProperties).hasSize(5); + assertThat(commonProperties).hasSize(4); } @Test |