summaryrefslogtreecommitdiffstats
path: root/dcaedt_catalog/asdc/src
diff options
context:
space:
mode:
authorEran (ev672n), Vosk <ev672n@att.com>2018-10-16 17:33:49 +0300
committerEran (ev672n), Vosk <ev672n@att.com>2018-10-17 15:41:16 +0300
commit3fc94dd71339db72d60220add95b6b72c932abdb (patch)
treee6a3e0296f09f79be86ee76f9f3d40fcad97e8b2 /dcaedt_catalog/asdc/src
parent936253bccdcebe82ed06b55025087e96bbd35551 (diff)
security check issues
recheck eun-clm updating spring version, using security check issues Change-Id: Ic9eb249b70d4e32669fc6f1f4262b0fb91c0cd70 Issue-ID: SDC-1829 Signed-off-by: Eran (ev672n), Vosk <ev672n@att.com>
Diffstat (limited to 'dcaedt_catalog/asdc/src')
-rw-r--r--dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java b/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java
index 15c4a8a..82eec21 100644
--- a/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java
+++ b/dcaedt_catalog/asdc/src/test/java/org/onap/sdc/dcae/utils/SDCResponseErrorHandlerTest.java
@@ -3,9 +3,8 @@ package org.onap.sdc.dcae.utils;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
-import org.junit.runner.RunWith;
import org.mockito.InjectMocks;
-import org.mockito.runners.MockitoJUnitRunner;
+import org.mockito.MockitoAnnotations;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.client.ClientHttpResponse;
@@ -15,7 +14,6 @@ import org.springframework.web.client.HttpServerErrorException;
import java.io.IOException;
import java.io.InputStream;
-@RunWith(MockitoJUnitRunner.class)
public class SDCResponseErrorHandlerTest {
@InjectMocks
private SDCResponseErrorHandler classUnderTest;
@@ -24,6 +22,7 @@ public class SDCResponseErrorHandlerTest {
@Before
public void setup() {
+ MockitoAnnotations.initMocks(this);
clientHttpResponse = new ClientHttpResponse() {
@Override
public HttpStatus getStatusCode() throws IOException {