From f0bf3dbba5fc5f0b896344641767d8a578fd6663 Mon Sep 17 00:00:00 2001 From: Daniel Palafox Date: Mon, 15 Jan 2024 20:25:31 -0500 Subject: [PATCH] fix: registerWithAffiliation test --- .../org/orcid/core/manager/impl/RegistrationManagerImplTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/orcid-core/src/test/java/org/orcid/core/manager/impl/RegistrationManagerImplTest.java b/orcid-core/src/test/java/org/orcid/core/manager/impl/RegistrationManagerImplTest.java index e0a6b83b2b1..30348283d82 100644 --- a/orcid-core/src/test/java/org/orcid/core/manager/impl/RegistrationManagerImplTest.java +++ b/orcid-core/src/test/java/org/orcid/core/manager/impl/RegistrationManagerImplTest.java @@ -470,6 +470,7 @@ public void testRegisterWithAffiliationTest() { registrationForm.setAffiliationForm(getAffiliationForm()); String userOrcid = registrationManager.createMinimalRegistration(registrationForm, true, java.util.Locale.ENGLISH, "0.0.0.0"); + registrationManager.createAffiliation(registrationForm, userOrcid); assertNotNull(userOrcid); assertTrue(OrcidStringUtils.isValidOrcid(userOrcid)); List employmentSummaryList = affiliationsManager.getEmploymentSummaryList(userOrcid);