summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/att/nsa/mr/client/impl/MRBaseClientTest.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/test/java/com/att/nsa/mr/client/impl/MRBaseClientTest.java b/src/test/java/com/att/nsa/mr/client/impl/MRBaseClientTest.java
index 56cf954..055c94f 100644
--- a/src/test/java/com/att/nsa/mr/client/impl/MRBaseClientTest.java
+++ b/src/test/java/com/att/nsa/mr/client/impl/MRBaseClientTest.java
@@ -448,21 +448,11 @@ public class MRBaseClientTest {
PowerMockito.when(response.getHeaders()).thenReturn(map);
PowerMockito.when(DmaapClientUtil.getResponsewtNoAuth(DmaapClientUtil.getTarget("/path"))).thenReturn(response);
- mrBaseClient.getNoAuth("/path", "username", "password", "HTTPAUTH");
+ mrBaseClient.getNoAuth("/path");
assertTrue(true);
}
- @Test(expected = HttpException.class)
- public void testGetNoAuth_error() throws JSONException, HttpException {
-
- ResponseBuilder responseBuilder = Response.ok();
- PowerMockito.when(DmaapClientUtil.getResponsewtNoAuth(DmaapClientUtil.getTarget("/path"))).thenReturn(
- responseBuilder.header("transactionid", "transactionid").entity("{\"test\":\"test\"}").build());
- mrBaseClient.getNoAuth("/path", null, null, "HTTPAUTH");
- assertTrue(true);
-
- }
@Test
public void testGetHTTPErrorResponseMessage() {