From cfc431ee10a83ccc0a170ec4f8e674f6ccb63a8d Mon Sep 17 00:00:00 2001 From: jz385p Date: Wed, 3 Jun 2020 12:50:14 +0530 Subject: Fixed few security issues from the dependencies Fixed security vulnerable issues Issue-ID: PORTAL-916 Change-Id: Icbc99c29f04f6390ab2903249ce92f25e2fb0fd2 Signed-off-by: jz385p --- .../portalapp/portal/controller/ExternalAccessRolesControllerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecomp-portal-BE-common/src/test') diff --git a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/ExternalAccessRolesControllerTest.java b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/ExternalAccessRolesControllerTest.java index 6b06ee22..b40b8db6 100644 --- a/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/ExternalAccessRolesControllerTest.java +++ b/ecomp-portal-BE-common/src/test/java/org/onap/portalapp/portal/controller/ExternalAccessRolesControllerTest.java @@ -661,7 +661,7 @@ public class ExternalAccessRolesControllerTest { Mockito.when(externalAccessRolesService.getApp(mockedRequest.getHeader(uebKey))).thenReturn(applicationList); PortalRestResponse portalRestResponse = null; PortalRestResponse expectedportalRestResponse = new PortalRestResponse<>(); - expectedportalRestResponse.setMessage(null); + expectedportalRestResponse.setMessage("argument \"content\" is null"); expectedportalRestResponse.setResponse("Failed"); expectedportalRestResponse.setStatus(PortalRestStatusEnum.ERROR); Mockito.when(mockedRequest.getHeader("uebkey")).thenReturn(uebKey); -- cgit 1.2.3-korg