diff options
Diffstat (limited to 'catalog-fe/src/test/java/org')
-rw-r--r-- | catalog-fe/src/test/java/org/openecomp/sdc/fe/impl/HttpRequestInfoTest.java | 1 | ||||
-rw-r--r-- | catalog-fe/src/test/java/org/openecomp/sdc/servlets/FeProxyServletTest.java | 12 |
2 files changed, 1 insertions, 12 deletions
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"); |