monkeyDluffy6017 commented on code in PR #9298:
URL: https://github.com/apache/apisix/pull/9298#discussion_r1185233255
##########
t/plugin/wolf-rbac.t:
##########
@@ -685,3 +685,55 @@ passed
ngx.status = code
}
}
+
+
+
+=== TEST 36: add consumer with echo plugin
+--- config
+ location /t {
+ content_by_lua_block {
+ local t = require("lib.test_admin").test
+ local code, body = t('/apisix/admin/consumers',
+ ngx.HTTP_PUT,
+ [[{
+ "username": "wolf_rbac_with_other_plugins",
+ "plugins": {
+ "wolf-rbac": {
+ "appid": "wolf-rbac-app",
+ "server": "http://127.0.0.1:1982"
+ },
+ "echo": {
+ "body": "consumer merge echo plugins\n"
Review Comment:
Why don't you use the example in the issue:
https://github.com/apache/apisix/issues/9287 ?
--
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]