diff options
author | Ofir Sonsino <os0695@att.com> | 2017-09-04 14:52:07 +0300 |
---|---|---|
committer | Ofir Sonsino <os0695@att.com> | 2017-09-04 14:52:07 +0300 |
commit | b35670742c728d7d85da2f9c856c51a5889449d6 (patch) | |
tree | 92e544b121b8a47230667f0e0078c188a47dd8eb /vid-app-common/src/test/java/org/openecomp/fusionapp | |
parent | 49a483a9b40cb429717ccec69fa99e4908aadbb6 (diff) |
[VID-55] Upgrade Tosca Parser (merge)
Change-Id: I5389f1641ef22df3ed569a154b3c367117c04d04
Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/openecomp/fusionapp')
-rwxr-xr-x | vid-app-common/src/test/java/org/openecomp/fusionapp/service/ProfileServiceTest.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/vid-app-common/src/test/java/org/openecomp/fusionapp/service/ProfileServiceTest.java b/vid-app-common/src/test/java/org/openecomp/fusionapp/service/ProfileServiceTest.java index ce3e6ba5f..85c550d4c 100755 --- a/vid-app-common/src/test/java/org/openecomp/fusionapp/service/ProfileServiceTest.java +++ b/vid-app-common/src/test/java/org/openecomp/fusionapp/service/ProfileServiceTest.java @@ -36,6 +36,7 @@ import org.openecomp.portalsdk.core.service.UserProfileService; /**
* The Class ProfileServiceTest.
*/
+
public class ProfileServiceTest extends MockApplicationContextTestSuite {
/** The service. */
@@ -51,14 +52,13 @@ public class ProfileServiceTest extends MockApplicationContextTestSuite { */
@Test
public void testFindAll() {
-
- try {
- List<Profile> profiles = service.findAll();
- Assert.assertTrue(profiles.size() > 0);
- }
- catch (Exception e) {
- //TODO: this is only to make maven to not complaint
- return;
+
+ List<Profile> profiles;
+ try {
+ profiles = service.findAll();
+ Assert.assertTrue(profiles.size() > 0);
+ } catch (Exception e) {
+ Assert.assertTrue(false);
}
}
|