From c63a3402b0054642bfe07465278dc80246b0321b Mon Sep 17 00:00:00 2001 From: Tal Gitelman Date: Sun, 5 Aug 2018 17:16:15 +0300 Subject: Updating the Jetty version Change-Id: Id492fab0745479556a6c63af5aec32a49765cb67 Issue-ID: SDC-1545 Signed-off-by: Tal Gitelman --- .../java/org/openecomp/sdc/fe/impl/HttpRequestInfoTest.java | 1 - .../java/org/openecomp/sdc/servlets/FeProxyServletTest.java | 12 +----------- 2 files changed, 1 insertion(+), 12 deletions(-) (limited to 'catalog-fe/src/test/java/org') diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/fe/impl/HttpRequestInfoTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/fe/impl/HttpRequestInfoTest.java index 3bb0006a26..53959b757d 100644 --- a/catalog-fe/src/test/java/org/openecomp/sdc/fe/impl/HttpRequestInfoTest.java +++ b/catalog-fe/src/test/java/org/openecomp/sdc/fe/impl/HttpRequestInfoTest.java @@ -7,7 +7,6 @@ import javax.servlet.http.*; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; -import java.io.UnsupportedEncodingException; import java.security.Principal; import java.util.Collection; import java.util.Enumeration; diff --git a/catalog-fe/src/test/java/org/openecomp/sdc/servlets/FeProxyServletTest.java b/catalog-fe/src/test/java/org/openecomp/sdc/servlets/FeProxyServletTest.java index 9597928fc0..d80e6f3d36 100644 --- a/catalog-fe/src/test/java/org/openecomp/sdc/servlets/FeProxyServletTest.java +++ b/catalog-fe/src/test/java/org/openecomp/sdc/servlets/FeProxyServletTest.java @@ -40,7 +40,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; -import static org.mockito.Mockito.*; +import static org.mockito.Mockito.when; public class FeProxyServletTest { /* @@ -179,16 +179,6 @@ public class FeProxyServletTest { assertTrue(rewriteURI.equals(expectedChangedUrl)); } - - - @Test - public void testCustomizeProxyRequest() { - feProxy.customizeProxyRequest(proxyRequest, servletRequest); - verify(proxyRequest).header(HEADER_3, HEADER_3_VAL); - verify(proxyRequest, times(1)).header(Mockito.anyString(), Mockito.anyString()); - - } - @Test public void testRewriteURIWithWFAPIRequest() { when(servletRequest.getRequestURI()).thenReturn("/sdc1/feProxy/wf/workflows"); -- cgit 1.2.3-korg