From 87bf9245434ad317ea39a84a0099233197f3d7c2 Mon Sep 17 00:00:00 2001 From: dglFromAtt Date: Thu, 25 Oct 2018 08:06:45 -0400 Subject: Introduce useExisting query param for feeds/topics Change-Id: I0eb7000cff801a7fb622c70d4621458fe3574fed Signed-off-by: dglFromAtt Issue-ID: DMAAP-878 --- src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java | 4 ++-- src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/java/org/onap') diff --git a/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java b/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java index 4d79b74..dcdfcdf 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java +++ b/src/test/java/org/onap/dmaap/dbcapi/service/MR_ClientServiceTest.java @@ -93,7 +93,7 @@ public class MR_ClientServiceTest { public void test3() { Topic topic = factory.genSimpleTopic( "test3" ); ApiError err = new ApiError(); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } @@ -117,7 +117,7 @@ public class MR_ClientServiceTest { public void test5() { Topic topic = factory.genSimpleTopic( "test5" ); ApiError err = new ApiError(); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } diff --git a/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java b/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java index 5997ab1..8fd7b47 100644 --- a/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java +++ b/src/test/java/org/onap/dmaap/dbcapi/service/TopicServiceTest.java @@ -73,7 +73,7 @@ public class TopicServiceTest { topic.setTopicName( "test3" ); topic.setFqtnStyle( FqtnType.Validator("none") ); topic.getFqtn(); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } @@ -104,7 +104,7 @@ public class TopicServiceTest { ts.reviewTopic( topic ); ts.checkForBridge( topic, err ); - Topic nTopic = ts.addTopic( topic, err ); + Topic nTopic = ts.addTopic( topic, err, false ); if ( nTopic != null ) { assertTrue( nTopic.getTopicName().equals( topic.getTopicName() )); } -- cgit 1.2.3-korg