diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2019-11-15 13:33:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-15 13:33:39 +0000 |
commit | d79badf67d5c253eb9883ac823626d7efa16c731 (patch) | |
tree | 5f0e5be07006416ae2fc8d301cdcda7dab358048 /ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java | |
parent | 577b34e9bdad94d0b1559a9917af3283124aeeda (diff) | |
parent | 2f3ca9fc5edc5a52659b3486605e0db508143318 (diff) |
Merge "Unit/SONAR/Checkstyle in ONAP-REST"
Diffstat (limited to 'ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java')
-rw-r--r-- | ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java b/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java index fa83017f2..caeb808d8 100644 --- a/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java +++ b/ONAP-REST/src/test/java/org/onap/policy/rest/jpa/CommonDictionaryJpaTest.java @@ -8,9 +8,9 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -43,7 +43,7 @@ public class CommonDictionaryJpaTest { /** * Initiations for testing. - * + * * @throws Exception on test initiation errors */ @Before @@ -157,8 +157,8 @@ public class CommonDictionaryJpaTest { data.prePersist(); data.setId(1); assertTrue(1 == data.getId()); - data.setOnapName("Test"); - assertTrue("Test".equals(data.getOnapName())); + data.setName("Test"); + assertTrue("Test".equals(data.getName())); data.setDescription("Test"); assertTrue("Test".equals(data.getDescription())); data.setCreatedDate(new Date()); |