This is an automated email from the ASF dual-hosted git repository.

min pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/develop by this push:
     new cf490b5  fix UT
cf490b5 is described below

commit cf490b53233d178a52d8cfd807a23dfd36bbef6b
Author: nzomkxia <z82507...@gmail.com>
AuthorDate: Thu Jun 27 14:33:18 2019 +0800

    fix UT
---
 .../test/java/org/apache/dubbo/admin/config/ConfigCenterTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/dubbo-admin-server/src/test/java/org/apache/dubbo/admin/config/ConfigCenterTest.java
 
b/dubbo-admin-server/src/test/java/org/apache/dubbo/admin/config/ConfigCenterTest.java
index 4ce1be8..2def1ac 100644
--- 
a/dubbo-admin-server/src/test/java/org/apache/dubbo/admin/config/ConfigCenterTest.java
+++ 
b/dubbo-admin-server/src/test/java/org/apache/dubbo/admin/config/ConfigCenterTest.java
@@ -69,7 +69,7 @@ public class ConfigCenterTest {
     public void testGetDynamicConfiguration() throws Exception {
         // mock @value inject
         ReflectionTestUtils.setField(configCenter, "configCenter", zkAddress);
-        ReflectionTestUtils.setField(configCenter, "group", "dubbo");
+        ReflectionTestUtils.setField(configCenter, "configCenterGroup", 
"dubbo");
         ReflectionTestUtils.setField(configCenter, "username", "username");
         ReflectionTestUtils.setField(configCenter, "password", "password");
 
@@ -129,7 +129,7 @@ public class ConfigCenterTest {
 
         // mock @value inject
         ReflectionTestUtils.setField(configCenter, "registryAddress", 
zkAddress);
-        ReflectionTestUtils.setField(configCenter, "group", "dubbo");
+        ReflectionTestUtils.setField(configCenter, "registryGroup", "dubbo");
         ReflectionTestUtils.setField(configCenter, "username", "username");
         ReflectionTestUtils.setField(configCenter, "password", "password");
 
@@ -148,7 +148,7 @@ public class ConfigCenterTest {
 
         // mock @value inject
         ReflectionTestUtils.setField(configCenter, "metadataAddress", 
zkAddress);
-        ReflectionTestUtils.setField(configCenter, "group", "dubbo");
+        ReflectionTestUtils.setField(configCenter, "metadataGroup", "dubbo");
         ReflectionTestUtils.setField(configCenter, "username", "username");
         ReflectionTestUtils.setField(configCenter, "password", "password");
 

Reply via email to