summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/org/onap/aai/validation/config/TestTopicConfig.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/test/java/org/onap/aai/validation/config/TestTopicConfig.java b/src/test/java/org/onap/aai/validation/config/TestTopicConfig.java
index efe82b8..30e28d8 100644
--- a/src/test/java/org/onap/aai/validation/config/TestTopicConfig.java
+++ b/src/test/java/org/onap/aai/validation/config/TestTopicConfig.java
@@ -27,8 +27,6 @@ import javax.annotation.Resource;
import javax.inject.Inject;
import org.junit.Test;
import org.junit.runner.RunWith;
-import org.onap.aai.validation.config.TopicConfig;
-import org.onap.aai.validation.ValidationServiceApplication;
import org.onap.aai.validation.config.TopicConfig.Topic;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
@@ -65,7 +63,7 @@ public class TestTopicConfig {
@Test
public void testGetConsumerTopicConfigurationObjects() throws Exception {
- Topic eventTopic = new TopicConfig("aai-event","aai-data-integrity").new Topic();
+ Topic eventTopic = new TopicConfig("aai-event", "aai-data-integrity").new Topic();
eventTopic.setName("aai-event");
eventTopic.setHost("event-dummy-host");
eventTopic.setUsername("event-dummy-username");
@@ -74,7 +72,7 @@ public class TestTopicConfig {
eventTopic.setConsumerId("event-dummy-consumer-id");
eventTopic.setTransportType("event-dummy-transport-type");
- Topic exportTopic = new TopicConfig("aai-data-export","aai-data-integrity").new Topic();
+ Topic exportTopic = new TopicConfig("aai-data-export", "aai-data-integrity").new Topic();
exportTopic.setName("aai-data-export");
exportTopic.setHost("export-dummy-host");
exportTopic.setUsername("export-dummy-username");
@@ -90,7 +88,7 @@ public class TestTopicConfig {
@Test
public void testGetPublisherTopicConfigurationObjects() throws Exception {
- Topic integrityTopic = new TopicConfig("aai-data-export","aai-data-integrity").new Topic();
+ Topic integrityTopic = new TopicConfig("aai-data-export", "aai-data-integrity").new Topic();
integrityTopic.setName("aai-data-integrity");
integrityTopic.setHost("integrity-dummy-host");
integrityTopic.setPartition("integrity-dummy-partition");