summaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authorsu622b <sunil.unnava@att.com>2018-03-21 16:22:41 -0400
committersu622b <sunil.unnava@att.com>2018-03-21 16:22:53 -0400
commit460b2066308869e50f7b5320726780676d0d1f05 (patch)
tree74a6512b80e5dd4bfc3ffc3a8a0d568a03c269de /src/test/java
parent30a84f5af13658f780270b6fc474b344310d7464 (diff)
changes for deployment errorsv1.1.2
Issue-ID: DMAAP-332 Change-Id: I28da5fea23c8680fb921c97348eee26edb86ed35 Signed-off-by: su622b <sunil.unnava@att.com>
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/att/nsa/cambria/service/impl/TopicServiceImplTest.java3
1 files changed, 0 insertions, 3 deletions
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);