Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal/fix failing Clarin integration test #796

Merged
merged 14 commits into from
Oct 31, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ public void testShouldReturnDuplicateUserErrorLoginWithoutNetId() throws Excepti
.andExpect(redirectedUrl("http://localhost:4000/login/duplicate-user?email=" + email))
.andReturn().getResponse().getHeader("Authorization");

// Check if was created a user with such email and netid.
EPerson ePerson = checkUserWasCreated(netId, IDP_TEST_EPERSON, email, null);
deleteShibbolethUser(ePerson);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats about if ePerson is null?

}

// This test is copied from the `ShibbolethLoginFilterIT` and modified following the Clarin updates.
Expand Down
Loading