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/09/08 18:06:14 UTC

[GitHub] [apisix] membphis commented on a change in pull request #2092: bug: removed default access token for Admin API.

membphis commented on a change in pull request #2092:
URL: https://github.com/apache/apisix/pull/2092#discussion_r485103731



##########
File path: t/lib/test_admin.lua
##########
@@ -128,6 +128,7 @@ function _M.test(uri, method, body, pattern, headers)
     end
     if not headers["Content-Type"] then
         headers["Content-Type"] = "application/x-www-form-urlencoded"
+        headers["X-API-KEY"] = "TEST_API_KEY"

Review comment:
       random key already, please take a look at the new version




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