Skip to content

Commit

Permalink
Remove unnecessary refactors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmadhavig committed Nov 11, 2024
1 parent f3667aa commit f6d2708
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,10 @@ public void testValidateAdditionalUserClaims() {
applicationConfig.getRequestedClaimList().forEach(claim -> {
if (authorizingUser.getUserClaims().get(claim) != null) {
assertNotNull(accessTokenClaims.getClaim(claim.getOidcClaimUri()),
"User claim " + claim.getOidcClaimUri() + " not found in the access token.");
"Claim " + claim.getOidcClaimUri() + " not found in the access token.");
assertEquals(accessTokenClaims.getClaim(claim.getOidcClaimUri()),
authorizingUser.getUserClaims().get(claim),
"Value for claim " + claim.getOidcClaimUri() + " is incorrect in the access token.");
}
});
}
Expand Down

0 comments on commit f6d2708

Please sign in to comment.