diff options
Diffstat (limited to 'models-tosca/src/test/java/org')
-rw-r--r-- | models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java b/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java index 07f5bca7d..8d0c8d440 100644 --- a/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java +++ b/models-tosca/src/test/java/org/onap/policy/models/tosca/serialization/MonitoringPolicySerializationTest.java @@ -66,10 +66,10 @@ public class MonitoringPolicySerializationTest { LOGGER.info(serviceTemplate.validate(new PfValidationResult()).toString()); assertTrue(serviceTemplate.validate(new PfValidationResult()).isValid()); - assertEquals("onap.vcpe.tca:1.0.0", - serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId()); - assertEquals("onap.vcpe.tca:1.0.0", - serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId()); + assertEquals("onap.restart.tca:1.0.0", + serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId()); + assertEquals("onap.restart.tca:1.0.0", + serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId()); } @Test @@ -86,9 +86,9 @@ public class MonitoringPolicySerializationTest { LOGGER.info(serviceTemplate.validate(new PfValidationResult()).toString()); assertTrue(serviceTemplate.validate(new PfValidationResult()).isValid()); - assertEquals("onap.vcpe.tca:1.0.0", - serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId()); - assertEquals("onap.vcpe.tca:1.0.0", - serviceTemplate.getTopologyTemplate().getPolicies().get("onap.vcpe.tca").getId()); + assertEquals("onap.restart.tca:1.0.0", + serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId()); + assertEquals("onap.restart.tca:1.0.0", + serviceTemplate.getTopologyTemplate().getPolicies().get("onap.restart.tca").getId()); } } |