idbeta commented on issue #568:
URL:
https://github.com/apache/apisix-dashboard/issues/568#issuecomment-734043715
```testcase
{
caseDesc: "create consumers with invalid format of
label value",
Object: MangerApiExpect(t),
Path: "/apisix/admin/consumers",
Method: http.MethodPost,
Body: `{
"username":"case_10",
"desc": "new consumer",
"labels": {
"env": ["production", "release"]
}
}`,
Headers: map[string]string{"Authorization": token},
ExpectStatus: http.StatusBadRequest,
},
```
----------------------------------------------------------------
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]