From 5757daaad0f1e423108b5c6cf07ab14adf7d8fdb Mon Sep 17 00:00:00 2001
From: Joe Zou <yixian.zou@gmail.com>
Date: Thu, 14 Nov 2019 18:00:59 +0800
Subject: [PATCH] fix cases

---
 config/testdata/consumer_config_with_configcenter_apollo.yml | 5 ++++-
 config_center/apollo/impl_test.go                            | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/config/testdata/consumer_config_with_configcenter_apollo.yml b/config/testdata/consumer_config_with_configcenter_apollo.yml
index ceec1b38a..49b8fff59 100644
--- a/config/testdata/consumer_config_with_configcenter_apollo.yml
+++ b/config/testdata/consumer_config_with_configcenter_apollo.yml
@@ -7,9 +7,12 @@ config_center:
   address: 106.12.25.204:8080
   group: testApplication_yang
   cluster: dev
+  # 'namespace' can be used for router rule , default value is dubbo.properties
+  # but if you want to change router rule config file ,just open this item
+#  namespace: governance.properties
   # 'config_file' is not necessary ,default : dubbo.properties
   # but if you want to change config file ,just open this item
-#  config_file: mockDubbog
+#  config_file: mockDubbog.properties
 
 # application config required
 application:
diff --git a/config_center/apollo/impl_test.go b/config_center/apollo/impl_test.go
index 52ab60f06..2bb8b0ad6 100644
--- a/config_center/apollo/impl_test.go
+++ b/config_center/apollo/impl_test.go
@@ -43,7 +43,7 @@ const (
 	mockCluster   = "dev"
 	mockNamespace = "mockDubbog.properties"
 	mockNotifyRes = `[{
-	"namespaceName": "mockDubbog",
+	"namespaceName": "mockDubbog.properties",
 	"notificationId": 53050,
 	"messages": {
 		"details": {
-- 
GitLab