Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
cgendreau committed Feb 14, 2025
1 parent 7173855 commit 277d651
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public SecurityContext createSecurityContext(WithMockKeycloakUser mockKeycloakUs

// Create a Keycloak AccessToken with the groups in otherClaims
AccessToken accessToken = new AccessToken();
accessToken.setRealmAccess(new AccessToken.Access());

List<String> groupRoles = Arrays.stream(mockKeycloakUser.groupRole())
.map(gr -> convertToKeycloakNotation(gr, mockKeycloakUser.failOnInvalidNotation()))
Expand Down

0 comments on commit 277d651

Please sign in to comment.