Possible fix for event listener
[appc.git] / appc-adapters / appc-dmaap-adapter / appc-dmaap-adapter-bundle / src / test / java / org / onap / appc / adapter / messaging / dmaap / http / TestCommonHttpClient.java
index 1d6fcfd..660a6e4 100644 (file)
@@ -69,14 +69,6 @@ public class TestCommonHttpClient {
         assertEquals(httpGet.getConfig().getSocketTimeout(), TIMEOUT + TIMEOUT_OFFSET);
     }
 
-    @Test(expected = AuthenticationException.class)
-    public void shoudNotGetHttpRequest_whenBasicAuthNotSet() throws AuthenticationException {
-
-        noBasicAuth();
-
-        commonHttpClient.getReq(URI, TIMEOUT);
-    }
-
     @Test
     public void shouldPostHttpRequest_whenSetBasicAuth() throws AuthenticationException {
 
@@ -90,14 +82,6 @@ public class TestCommonHttpClient {
         assertEquals(httpPost.getConfig().getSocketTimeout(), TIMEOUT_OFFSET);
     }
 
-    @Test(expected = AuthenticationException.class)
-    public void shoudNotPostHttpRequest_whenBasicAuthNotSet() throws AuthenticationException {
-
-        noBasicAuth();
-
-        commonHttpClient.postReq(URL);
-    }
-
     @Test
     public void shouldGetClient() {
         assertNotNull(commonHttpClient.getClient());