summaryrefslogtreecommitdiffstats
path: root/models-tosca/src
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-06-01 11:07:44 -0400
committerJim Hahn <jrh3@att.com>2021-06-03 08:44:26 -0400
commit2baa6495f0b562afc15bc30823ba97c2306f45cd (patch)
tree187113e70fe793908312749cd519a53c827bb8b6 /models-tosca/src
parent443f9f35fe733fdb88b51ab9c574949f5dd4c03c (diff)
Fix junits for new bean validation field names
Issue-ID: POLICY-3333 Change-Id: I339024677a2d090f61cc55d1b056b832c87d231a Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'models-tosca/src')
-rw-r--r--models-tosca/src/test/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaServiceTemplateTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/models-tosca/src/test/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaServiceTemplateTest.java b/models-tosca/src/test/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaServiceTemplateTest.java
index c361d8632..9a91a9558 100644
--- a/models-tosca/src/test/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaServiceTemplateTest.java
+++ b/models-tosca/src/test/java/org/onap/policy/models/tosca/simple/concepts/JpaToscaServiceTemplateTest.java
@@ -1,7 +1,7 @@
/*-
* ============LICENSE_START=======================================================
* Copyright (C) 2019-2021 Nordix Foundation.
- * Modifications Copyright (C) 2019-2020 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -144,7 +144,7 @@ public class JpaToscaServiceTemplateTest {
tst.setToscaDefinitionsVersion(null);
BeanValidationResult result = tst.validate("");
- assertThat(result.getResult()).contains("toscaDefinitionsVersion").contains(Validated.IS_NULL);
+ assertThat(result.getResult()).contains("tosca_definitions_version").contains(Validated.IS_NULL);
tst.setToscaDefinitionsVersion(JpaToscaServiceTemplate.DEFAULT_TOSCA_DEFINTIONS_VERISON);
tst.setDataTypes(null);