summaryrefslogtreecommitdiffstats
path: root/holmes-actions/src/test
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2018-03-08 17:22:12 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2018-03-08 17:22:12 +0800
commit8109b02052d5a66f442d8418340ad3bd7272ff99 (patch)
tree7d1c3919bd23e0f164f936b97c491a2245bf00b1 /holmes-actions/src/test
parent81304def362b19075438af781727e21ce8374bae (diff)
Made Fields Private
Change-Id: I00ffe1aeb7e68cdfd93056fcc33c628c1c3ea63c Issue-ID: HOLMES-118 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
Diffstat (limited to 'holmes-actions/src/test')
-rw-r--r--holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java b/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java
index d9dffeb..3fad981 100644
--- a/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java
+++ b/holmes-actions/src/test/java/org/onap/holmes/common/producer/MQProducerTest.java
@@ -70,10 +70,10 @@ public class MQProducerTest {
@Test
public void init() {
MQConfig mqConfig = new MQConfig();
- mqConfig.brokerIp = "127.0.0.1";
- mqConfig.brokerPort = 61616;
- mqConfig.brokerPassword = "admin";
- mqConfig.brokerUsername = "admin";
+ mqConfig.setBrokerIp("127.0.0.1");
+ mqConfig.setBrokerPort(61616);
+ mqConfig.setBrokerPassword("admin");
+ mqConfig.setBrokerUsername("admin");
expect(mqConfigProvider.get()).andReturn(mqConfig).anyTimes();
PowerMock.replayAll();