[VID-55] Upgrade Tosca Parser (merge)
[vid.git] / vid-app-common / src / test / java / org / openecomp / fusionapp / service / ProfileServiceTest.java
index ce3e6ba..85c550d 100755 (executable)
@@ -36,6 +36,7 @@ import org.openecomp.portalsdk.core.service.UserProfileService;
 /**\r
  * The Class ProfileServiceTest.\r
  */\r
+\r
 public class ProfileServiceTest extends MockApplicationContextTestSuite {\r
        \r
        /** The service. */\r
@@ -51,14 +52,13 @@ public class ProfileServiceTest extends MockApplicationContextTestSuite {
         */\r
        @Test\r
        public void testFindAll() {\r
-       \r
-               try {           \r
-                   List<Profile> profiles = service.findAll();\r
-                   Assert.assertTrue(profiles.size() > 0);\r
-               }\r
-               catch (Exception e) {\r
-                   //TODO: this is only to make maven to not complaint \r
-                   return;\r
+               \r
+               List<Profile> profiles;\r
+               try {\r
+                       profiles = service.findAll();\r
+                       Assert.assertTrue(profiles.size() > 0);\r
+               } catch (Exception e) {\r
+                       Assert.assertTrue(false);\r
                }\r
        }\r
 \r