Skip to content

Commit

Permalink
Check the user which is going to be deleted is not null.
Browse files Browse the repository at this point in the history
  • Loading branch information
milanmajchrak committed Oct 31, 2024
1 parent dba9f70 commit f5118c6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,7 @@ public void testSuccessFullLoginWithTwoEmails() throws Exception {
checkUserIsSignedIn(token);
// Find the user by the second email
EPerson ePerson = checkUserWasCreated(null, IDP_TEST_EPERSON, secondEmail, null);
assertTrue(Objects.nonNull(ePerson));
deleteShibbolethUser(ePerson);
}

Expand Down

0 comments on commit f5118c6

Please sign in to comment.