Support adding data types to model
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / impl / ResourceBusinessLogicTest.java
index 09f4ac7..17078bc 100644 (file)
@@ -1720,7 +1720,7 @@ public class ResourceBusinessLogicTest {
                List<PropertyDefinition> properties = new ArrayList<>();
                properties.add(property);
                basic.setProperties(properties);
-               when(propertyOperation.isPropertyTypeValid(property)).thenReturn(true);
+               when(propertyOperation.isPropertyTypeValid(property, null)).thenReturn(true);
                when(propertyOperation.isPropertyDefaultValueValid(property, emptyDataTypes)).thenReturn(true);
                Boolean validatePropertiesDefaultValues = bl.validatePropertiesDefaultValues(basic);
                assertTrue(validatePropertiesDefaultValues);