diff options
Diffstat (limited to 'dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java')
-rw-r--r-- | dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java b/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java index 406a2e2..346ffa9 100644 --- a/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java +++ b/dcae_dmaapbc_webapp/dbca-common/src/test/java/org/onap/fusionapp/service/ProfileServiceTest.java @@ -5,11 +5,12 @@ import java.util.List; import org.junit.Assert; import org.junit.Test; import org.onap.fusion.core.MockApplicationContextTestSuite; -import org.openecomp.portalsdk.core.domain.Profile; -import org.openecomp.portalsdk.core.domain.User; -import org.openecomp.portalsdk.core.service.ProfileService; -import org.openecomp.portalsdk.core.service.UserProfileService; +import org.onap.portalsdk.core.domain.Profile; +import org.onap.portalsdk.core.domain.User; +import org.onap.portalsdk.core.service.ProfileService; +import org.onap.portalsdk.core.service.UserProfileService; import org.springframework.beans.factory.annotation.Autowired; +import java.io.IOException; public class ProfileServiceTest extends MockApplicationContextTestSuite { @@ -23,8 +24,11 @@ public class ProfileServiceTest extends MockApplicationContextTestSuite { @Test public void testFindAll() { - List<Profile> profiles = service.findAll(); - Assert.assertTrue(profiles.size() > 0); + try { + List<Profile> profiles = service.findAll(); + Assert.assertTrue(profiles.size() > 0); + } catch ( IOException e ) { + } } @Test |