Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
amontenegro committed Dec 5, 2023
1 parent 864d564 commit 45eee3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ email.subject.admin_as_delegate=[ORCID] Trusting {0} with your ORCID Record
email.subject.locked=[ORCID] Your account has been locked
email.subject.auto_deprecate=[ORCID] An account has been deprecated
email.subject.reactivation=[ORCID] Reactivating your ORCID record
email.subject.register.welcome=[ORCID] Welcome to ORCID - verify your email address
email.subject.register.welcome=[ORCID] Welcome to ORCID - verify your email address
email.subject.delegate.recipient=[ORCID] You've made an Account Delegate!
email.subject.add_works=[ORCID] Add Research Outputs to your ORCID record
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void testSendWelcomeEmail() throws JAXBException, IOException, URISyntaxE

recordEmailSender.sendWelcomeEmail("4444-4444-4444-4446", "[email protected]");

verify(mockMailGunManager, times(1)).sendEmail(eq(EmailConstants.DO_NOT_REPLY_VERIFY_ORCID_ORG), eq("[email protected]"), eq("[ORCID] Welcome to ORCID"), anyString(), anyString());
verify(mockMailGunManager, times(1)).sendEmail(eq(EmailConstants.DO_NOT_REPLY_VERIFY_ORCID_ORG), eq("[email protected]"), eq("[ORCID] Welcome to ORCID - verify your email address"), anyString(), anyString());
}

@Test
Expand Down

0 comments on commit 45eee3f

Please sign in to comment.