diff options
Diffstat (limited to 'openecomp-be/lib/openecomp-tosca-lib/src/test/java')
2 files changed, 4 insertions, 4 deletions
diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/CapabilityDefinitionTest.java b/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/CapabilityDefinitionTest.java index 314e071c9e..1e3024d950 100644 --- a/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/CapabilityDefinitionTest.java +++ b/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/datatypes/model/CapabilityDefinitionTest.java @@ -75,7 +75,7 @@ public class CapabilityDefinitionTest { propertyDefinition.set_default(5); propertyDefinition.setEntry_schema(getMockEntrySchema()); propertyDefinition.setRequired(false); - propertyDefinition.setStatus(Status.UNSUPPORTED); + propertyDefinition.setStatus(Status.UNSUPPORTED.getName()); return propertyDefinition; } @@ -102,7 +102,7 @@ public class CapabilityDefinitionTest { attributeDefinition.setType("type1"); attributeDefinition.set_default("none"); attributeDefinition.setEntry_schema(getMockEntrySchema()); - attributeDefinition.setStatus(Status.UNSUPPORTED); + attributeDefinition.setStatus(Status.UNSUPPORTED.getName()); return attributeDefinition; } diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/services/impl/ToscaAnalyzerServiceImplTest.java b/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/services/impl/ToscaAnalyzerServiceImplTest.java index f8e6759555..7dca84bd40 100644 --- a/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/services/impl/ToscaAnalyzerServiceImplTest.java +++ b/openecomp-be/lib/openecomp-tosca-lib/src/test/java/org/openecomp/sdc/tosca/services/impl/ToscaAnalyzerServiceImplTest.java @@ -1099,10 +1099,10 @@ public class ToscaAnalyzerServiceImplTest { parameterDefinitionInput.setRequired(true); parameterDefinitionInput.set_default("default"); parameterDefinitionInput.setConstraints(Collections.singletonList(new Constraint())); - parameterDefinitionInput.setStatus(Status.SUPPORTED); + parameterDefinitionInput.setStatus(Status.SUPPORTED.getName()); ParameterDefinition parameterDefinitionOutput = new ParameterDefinition(); - parameterDefinitionOutput.setStatus(Status.SUPPORTED); + parameterDefinitionOutput.setStatus(Status.SUPPORTED.getName()); ServiceTemplate serviceTemplate = new ServiceTemplate(); serviceTemplate.setTopology_template(new TopologyTemplate()); |