nic-chen commented on a change in pull request #1968:
URL: https://github.com/apache/apisix-dashboard/pull/1968#discussion_r668553668



##########
File path: api/internal/handler/tool/tool_test.go
##########
@@ -115,7 +115,7 @@ func TestTool_VersionMatch(t *testing.T) {
                                                },
                                        },
                                        Code:    2000001,
-                                       Message: "The manager-api and apache 
apisix are mismatched.",
+                                       Message: "The Manager-api and Apache 
APISIX are mismatched. The version of Dashboard is , and should be used with 
Apache APISIX .",

Review comment:
       ```suggestion
                                        Message: "The Manager API and Apache 
APISIX are mismatched. The version of Manager API is , and should be used with 
Apache APISIX .",
   ```

##########
File path: api/test/e2enew/version/version_test.go
##########
@@ -44,8 +44,9 @@ var _ = ginkgo.Describe("Version", func() {
                        Headers:      map[string]string{"Authorization": 
base.GetToken()},
                        ExpectStatus: http.StatusOK,
                        ExpectBody: []string{"\"code\":2000001",
-                               "\"message\":\"The manager-api and apache 
apisix are mismatched.\"",
-                               "\"matched\":false", "apisix_server1", 
"apisix_server2"},
+                               `"message":"The Manager-api and Apache APISIX 
are mismatched. ` +

Review comment:
       ```suggestion
                                `"message":"The Manager API and Apache APISIX 
are mismatched. ` +
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to