Skip to content

Commit

Permalink
Update existing unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
clundin25 committed Mar 11, 2024
1 parent e1098d2 commit d903cb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testPkceExpected() throws NoSuchAlgorithmException {

byte[] digest = md.digest();

String expectedCodeChallenge = Base64.getUrlEncoder().encodeToString(digest);
String expectedCodeChallenge = Base64.getUrlEncoder().encodeToString(digest).replace("=", "");
String expectedCodeChallengeMethod = "S256";

assertEquals(pkce.getCodeChallenge(), expectedCodeChallenge);
Expand Down

0 comments on commit d903cb8

Please sign in to comment.