zeroflag commented on code in PR #554:
URL: https://github.com/apache/knox/pull/554#discussion_r849217749
##########
gateway-service-knoxtoken/src/test/java/org/apache/knox/gateway/service/knoxtoken/TokenServiceResourceTest.java:
##########
@@ -1396,8 +1444,8 @@ private Subject createTestSubject(final String username) {
return s;
}
- private static Map<String, String> parseJSONResponse(final String response)
throws IOException {
- return (new ObjectMapper()).readValue(response, new
TypeReference<Map<String, String>>(){});
+ private static Map<String, Object> parseJSONResponse(final String response)
throws IOException {
Review Comment:
Now the map can contain a Set value for the groups.
--
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]