You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/24 03:45:21 UTC

[GitHub] [apisix-dashboard] nic-chen commented on a change in pull request #1112: feat: add test cases for rejecting request data if it contains an empty array

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



##########
File path: api/test/e2e/route_test.go
##########
@@ -392,3 +392,135 @@ func TestRoute_Patch(t *testing.T) {
 		testCaseCheck(tc)
 	}
 }
+
+//uris methods remote_addrs
+func TestRoute_With_Empty_Array(t *testing.T) {
+	tests := []HttpTestCase{
+		{
+			caseDesc: "create route with empty hosts and host",

Review comment:
       they are two different fields.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org