Skip to content

Commit

Permalink
Test for null chosenName in SAML response
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Dec 14, 2023
1 parent b8eb13c commit f664173
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ public void loginWithPassword() throws IOException {
response = samlAuthnRequestResponse(new Cookie.Builder(cookie.getName(), cookie.getValue()).build(), "relay");
html = samlAuthnResponse(response, Optional.empty());
assertTrue(html.contains("[email protected]"));
assertFalse(html.contains("null"));
}

@Test
Expand Down
1 change: 0 additions & 1 deletion myconext-server/src/test/resources/users.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
{
"uid": "mdoe",
"email": "[email protected]",
"chosenName": "Mary",
"givenName": "Mary",
"familyName": "Doe",
"password": "$2a$10$kUSu/Or0IX.E1WRaJtpUk.NWd83yV0mnt8CRnkbcQhvz6Qe3ntcAK",
Expand Down

0 comments on commit f664173

Please sign in to comment.