summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test
diff options
context:
space:
mode:
authorMichaelMorris <michael.morris@est.tech>2023-02-22 14:33:47 +0000
committerFrancisco Javier Paradela Vila <javier.paradela.vila@est.tech>2023-02-24 11:31:10 +0000
commit5526028d3bc464937c9a4373a7fc6e577d781cad (patch)
treeb367e438fac665cd42c4062b1829d3059be4c81a /catalog-model/src/test
parent96bfbbad6b2a7e6db7d4e78ed182c8be4f7c895f (diff)
Fix valid values for list and map
Signed-off-by: MichaelMorris <michael.morris@est.tech> Issue-ID: SDC-4412 Change-Id: I672193784c51250173b7e5c4c43354a0b9852c21
Diffstat (limited to 'catalog-model/src/test')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/AbstractStringPropertyConstraintTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/AbstractStringPropertyConstraintTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/AbstractStringPropertyConstraintTest.java
index 595437fab6..be814afa54 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/AbstractStringPropertyConstraintTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/tosca/constraints/AbstractStringPropertyConstraintTest.java
@@ -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)