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 109aa37 commit 52ebe10
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 52ebe10

Please sign in to comment.