summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-03-21 14:29:28 +0000
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2022-03-21 14:29:28 +0000
commit8e4e0c053492ce44f2d2a76605d7c6527bded39f (patch)
treeaaee5f08b40795f7a8a47f0608df279bac67e985
parent955490035b5397f177bcf164e315e305da3b71d4 (diff)
Fix build failure in pap
policy-models changes for metadataSet db serialization causes test failure in pap. Issue-ID: POLICY-3934 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: Ibc24e3a27e1cdd6111719651349888157fc31593
-rw-r--r--main/src/test/java/org/onap/policy/pap/main/service/ToscaNodeTemplateServiceTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/test/java/org/onap/policy/pap/main/service/ToscaNodeTemplateServiceTest.java b/main/src/test/java/org/onap/policy/pap/main/service/ToscaNodeTemplateServiceTest.java
index cf8aa73b..d5c19fe3 100644
--- a/main/src/test/java/org/onap/policy/pap/main/service/ToscaNodeTemplateServiceTest.java
+++ b/main/src/test/java/org/onap/policy/pap/main/service/ToscaNodeTemplateServiceTest.java
@@ -78,7 +78,7 @@ public class ToscaNodeTemplateServiceTest {
assertDoesNotThrow(() -> nodeTemplateService.getToscaNodeTemplate(NODE_TEMPLATE_NAME, NODE_TEMPLATE_VERSION));
assertThat(nodeTemplateService.getToscaNodeTemplate(NODE_TEMPLATE_NAME, NODE_TEMPLATE_VERSION).getMetadata())
- .containsEntry("policyModel", nodeTemplate.getMetadata().get("policyModel").toString());
+ .containsEntry("policyModel", nodeTemplate.getMetadata().get("policyModel"));
assertThatThrownBy(() -> nodeTemplateService.getToscaNodeTemplate("invalid_name", "1.0.0"))
.isInstanceOf(PfModelRuntimeException.class)