diff --git a/dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/users/SamlSessionRegistryTest.java b/dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/users/SamlSessionRegistryTest.java index 099e6ed97..9c71c387d 100644 --- a/dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/users/SamlSessionRegistryTest.java +++ b/dataverse-webapp/src/test/java/edu/harvard/iq/dataverse/users/SamlSessionRegistryTest.java @@ -136,7 +136,7 @@ private DataverseSession produceSession(AuthenticatedUser user) { @Override public void log(ActionLogRecord rec) { } }; DataverseSession session = new DataverseSession(actionLogServiceBean, null); - session.logOut(); + session.logIn(user); return session; }