juzhiyuan commented on a change in pull request #946:
URL: https://github.com/apache/apisix-dashboard/pull/946#discussion_r533882306
##########
File path: api/internal/core/store/validate_test.go
##########
@@ -121,17 +121,17 @@ func TestAPISIXJsonSchemaValidator_Validate(t *testing.T)
{
//plugin schema fail
consumer3 := &entity.Consumer{}
reqBody = `{
- "id": "jack",
- "username": "jack",
- "plugins": {
- "limit-count": {
- "time_window": 60,
- "rejected_code": 503,
- "key": "remote_addr"
- }
- },
- "desc": "test description"
- }`
+ "id": "jack",
Review comment:
```suggestion
usually use 2 spaces for json
```
----------------------------------------------------------------
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]