From 460b2066308869e50f7b5320726780676d0d1f05 Mon Sep 17 00:00:00 2001 From: su622b Date: Wed, 21 Mar 2018 16:22:41 -0400 Subject: changes for deployment errors Issue-ID: DMAAP-332 Change-Id: I28da5fea23c8680fb921c97348eee26edb86ed35 Signed-off-by: su622b --- .../java/com/att/nsa/cambria/service/impl/TopicServiceImplTest.java | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/test/java') diff --git a/src/test/java/com/att/nsa/cambria/service/impl/TopicServiceImplTest.java b/src/test/java/com/att/nsa/cambria/service/impl/TopicServiceImplTest.java index c90ba54..eb7e046 100644 --- a/src/test/java/com/att/nsa/cambria/service/impl/TopicServiceImplTest.java +++ b/src/test/java/com/att/nsa/cambria/service/impl/TopicServiceImplTest.java @@ -135,7 +135,6 @@ public class TopicServiceImplTest { public void testCreateTopicWithEnforcedName() throws DMaaPAccessDeniedException, CambriaApiException, IOException, TopicExistsException { - PowerMockito.when(DMaaPAuthenticatorImpl.isIgnoreAuth()).thenReturn(true); Assert.assertNotNull(topicService); PowerMockito.mockStatic(PropertiesMapBean.class); @@ -201,7 +200,6 @@ public class TopicServiceImplTest { public void testCreateTopicNoUserInContextAndNoAuthHeader() throws DMaaPAccessDeniedException, CambriaApiException, IOException, TopicExistsException { - PowerMockito.when(DMaaPAuthenticatorImpl.isIgnoreAuth()).thenReturn(true); Assert.assertNotNull(topicService); PowerMockito.mockStatic(PropertiesMapBean.class); @@ -225,7 +223,6 @@ public class TopicServiceImplTest { public void testCreateTopicNoUserInContextAndAuthHeaderAndPermitted() throws DMaaPAccessDeniedException, CambriaApiException, IOException, TopicExistsException { - PowerMockito.when(DMaaPAuthenticatorImpl.isIgnoreAuth()).thenReturn(true); Assert.assertNotNull(topicService); PowerMockito.mockStatic(PropertiesMapBean.class); -- cgit 1.2.3-korg