imjoey commented on a change in pull request #1192:
URL: https://github.com/apache/apisix-dashboard/pull/1192#discussion_r551140535



##########
File path: api/test/e2e/base.go
##########
@@ -157,20 +157,21 @@ func BatchTestServerPort(t *testing.T, times int) 
map[string]int {
 var sleepTime = time.Duration(300) * time.Millisecond
 
 type HttpTestCase struct {
-       Desc          string
-       Object        *httpexpect.Expect
-       Method        string
-       Path          string
-       Query         string
-       Body          string
-       Headers       map[string]string
-       Headers_test  map[string]interface{}
-       ExpectStatus  int
-       ExpectCode    int
-       ExpectMessage string
-       ExpectBody    string
-       ExpectHeaders map[string]string
-       Sleep         time.Duration //ms
+       Desc           string
+       Object         *httpexpect.Expect
+       Method         string
+       Path           string
+       Query          string
+       Body           string
+       Headers        map[string]string
+       Headers_test   map[string]interface{}
+       ExpectStatus   int
+       ExpectCode     int
+       ExpectMessage  string
+       ExpectBody     string
+       UnexpectedBody string

Review comment:
       To make it more clear, I just added a new field `UnexpectedBody` here, 
which reformatted the alignment.




----------------------------------------------------------------
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:
[email protected]


Reply via email to