moonming commented on a change in pull request #1027: Jwt authentication plugin 
compatible with Bearer prefix
URL: https://github.com/apache/incubator-apisix/pull/1027#discussion_r363206173
 
 

 ##########
 File path: t/plugin/jwt-auth.t
 ##########
 @@ -218,7 +218,7 @@ hello world
 --- request
 GET /hello
 --- more_headers
-Authorization: 
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTg3OTMxODU0MX0.fNtFJnNmJgzbiYmGB0Yjvm-l6A6M4jRV1l4mnVFSYjs
+Authorization: Bearer 
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJ1c2VyLWtleSIsImV4cCI6MTg3OTMxODU0MX0.fNtFJnNmJgzbiYmGB0Yjvm-l6A6M4jRV1l4mnVFSYjs
 
 Review comment:
   please add test case for wrong value of `Authorization Bearer`

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to