diff options
author | 2019-12-17 12:37:32 +0100 | |
---|---|---|
committer | 2019-12-17 12:39:38 +0100 | |
commit | 2b436dba4b7c12e8c97f040753d0d5044d580b8d (patch) | |
tree | f45295b686364fb7a1af27c9a6e6db000a0357cd /portal-BE/src/test | |
parent | ffd9af970318c1f5a0bad46d7aad5d4611414aae (diff) |
Deprecated class and annotation change
javax.validation.constraints.Email,
javax.validation.constraints.NotBlank
in ProfileDetail.java class changed to
import org.hibernate.validator.constraints.Email,
import org.hibernate.validator.constraints.NotBlank
Minor change:
@RunWith(MockitoJUnitRunner.class) -> @RunWith(SpringRunner.class)
Issue-ID: PORTAL-710
Change-Id: I9e249ea293ec05b212d431e6fe877a98f3798ffc
Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
Diffstat (limited to 'portal-BE/src/test')
-rw-r--r-- | portal-BE/src/test/java/org/onap/portal/framework/MockitoTestSuite.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/portal-BE/src/test/java/org/onap/portal/framework/MockitoTestSuite.java b/portal-BE/src/test/java/org/onap/portal/framework/MockitoTestSuite.java index 1825e401..49c4829b 100644 --- a/portal-BE/src/test/java/org/onap/portal/framework/MockitoTestSuite.java +++ b/portal-BE/src/test/java/org/onap/portal/framework/MockitoTestSuite.java @@ -37,16 +37,17 @@ */ package org.onap.portal.framework; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.mockito.Mockito; +import org.springframework.test.context.junit4.SpringRunner; + import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; -import org.junit.Test; -import org.junit.runner.RunWith; -import org.mockito.Mockito; -import org.mockito.runners.MockitoJUnitRunner; -@RunWith(MockitoJUnitRunner.class) +@RunWith(SpringRunner.class) public class MockitoTestSuite { |