kevinw66 commented on a change in pull request #2330:
URL: https://github.com/apache/apisix-dashboard/pull/2330#discussion_r820333940
##########
File path: api/test/e2e/route_import_test.go
##########
@@ -577,3 +577,136 @@ func TestRoute_export_import(t *testing.T) {
testCaseCheck(tc, t)
}
}
+
+func TestRoute_export_import_merge(t *testing.T) {
+ // create routes
+ tests := []HttpTestCase{
+ {
+ Desc: "Create a route",
+ Object: ManagerApiExpect(t),
+ Method: http.MethodPut,
+ Path: "/apisix/admin/routes/r1",
+ Body: `{
+ "id": "r1",
+ "uris": ["/test1", "/test2"],
+ "name": "route_all",
+ "desc": "所有",
+ "methods": ["GET"],
Review comment:
Done
--
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]