Fix valid values for list and map
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / tosca / constraints / AbstractStringPropertyConstraintTest.java
index 595437f..be814af 100644 (file)
@@ -62,7 +62,7 @@ public class AbstractStringPropertyConstraintTest {
     @Test(expected = ConstraintViolationException.class)
     public void testValidateNull() throws ConstraintViolationException {
         // when
-        constraint.validate(null);
+        constraint.validate((String)null);
     }
 
     @Test(expected = ConstraintViolationException.class)