summaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/test/java
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-06-20 10:45:28 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-06-21 11:16:34 +0100
commit6f40c0dc91bd115e2935ccbfc11c50d1c8f40fbe (patch)
tree7704139e4ea17e1338a8bb7c76294f3c9a2bab3e /runtime-acm/src/test/java
parent606853eb526ee836c436f29acb3edfc6ed7f63f2 (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')
-rw-r--r--runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/CommissioningProviderTest.java4
-rw-r--r--runtime-acm/src/test/java/org/onap/policy/clamp/acm/runtime/commissioning/rest/CommissioningControllerTest.java2
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