summaryrefslogtreecommitdiffstats
path: root/ecomp-portal-BE-os/src/test
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-07-22 19:29:25 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-22 19:29:25 +0000
commite4bbb52912d2a28fd543fb6412c4e98c0730d1ce (patch)
treec5c40b199c0f57679c24afb59f69bb33386ddd09 /ecomp-portal-BE-os/src/test
parent59b6b42d465680f70334627e032f15a978c5a2c0 (diff)
parent5aab72338c356e035862b914be4ca294c9d17fc8 (diff)
Merge "XSS Vulnerability fix in AppsController"
Diffstat (limited to 'ecomp-portal-BE-os/src/test')
-rw-r--r--ecomp-portal-BE-os/src/test/java/org/onap/portalapp/portal/controller/AppsOSControllerTest.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/ecomp-portal-BE-os/src/test/java/org/onap/portalapp/portal/controller/AppsOSControllerTest.java b/ecomp-portal-BE-os/src/test/java/org/onap/portalapp/portal/controller/AppsOSControllerTest.java
index 15fe1dd9..1083aed2 100644
--- a/ecomp-portal-BE-os/src/test/java/org/onap/portalapp/portal/controller/AppsOSControllerTest.java
+++ b/ecomp-portal-BE-os/src/test/java/org/onap/portalapp/portal/controller/AppsOSControllerTest.java
@@ -41,10 +41,8 @@ import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.List;
-
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
-
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
@@ -52,7 +50,6 @@ import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Mockito;
import org.mockito.MockitoAnnotations;
-import org.onap.portalapp.portal.controller.AppsOSController;
import org.onap.portalapp.portal.domain.EPUser;
import org.onap.portalapp.portal.ecomp.model.PortalRestResponse;
import org.onap.portalapp.portal.ecomp.model.PortalRestStatusEnum;
@@ -87,7 +84,7 @@ public class AppsOSControllerTest {
}
@InjectMocks
- AppsOSController appsOSController = new AppsOSController();
+ AppsOSController appsOSController;
MockitoTestSuite mockitoTestSuite = new MockitoTestSuite();