Skip to content

Working on remider emails, refactoring code so we get the primary ema… #252

Working on remider emails, refactoring code so we get the primary ema…

Working on remider emails, refactoring code so we get the primary ema… #252

GitHub Actions / orcid-web Unit Tests failed Nov 1, 2023 in 0s

orcid-web Unit Tests ❌

Tests failed

Report Passed Failed Skipped Time
TEST-orcid.pojo.ajaxForm.DummyTest.xml 1✅ 44s
TEST-orcid.pojo.ajaxForm.WorkFormTest.xml 3✅ 27ms
TEST-org.orcid.frontend.email.RecordEmailSenderTest.xml 11✅ 1❌ 2s
TEST-org.orcid.frontend.oauth2.RevokeControllerTest.xml 6✅ 200ms
TEST-org.orcid.frontend.salesforce.adapter.SalesForceAdapterTest.xml 4✅ 216ms
TEST-org.orcid.frontend.web.controllers.AdminControllerTest.xml 24✅ 7s
TEST-org.orcid.frontend.web.controllers.AffiliationsControllerTest.xml 1✅ 44ms
TEST-org.orcid.frontend.web.controllers.BaseControllerUtilTest.xml 6✅ 70ms
TEST-org.orcid.frontend.web.controllers.ClaimControllerTest.xml 3✅ 697ms
TEST-org.orcid.frontend.web.controllers.ClientsControllerTest.xml 9✅ 8s
TEST-org.orcid.frontend.web.controllers.DeveloperToolsControllerTest.xml 7✅ 75ms
TEST-org.orcid.frontend.web.controllers.FundingsControllerTest.xml 17✅ 5s
TEST-org.orcid.frontend.web.controllers.GetMyDataControllerTest.xml 1✅ 178ms
TEST-org.orcid.frontend.web.controllers.ManageMembersControllerTest.xml 17✅ 4s
TEST-org.orcid.frontend.web.controllers.ManageProfileControllerTest.xml 33✅ 132ms
TEST-org.orcid.frontend.web.controllers.OauthGenericCallsControllerTest.xml 2✅ 58ms
TEST-org.orcid.frontend.web.controllers.OauthRegistrationControllerTest.xml 1✅ 4s
TEST-org.orcid.frontend.web.controllers.OrgControllerTest.xml 1✅ 3s
TEST-org.orcid.frontend.web.controllers.PasswordResetControllerTest.xml 7✅ 3s
TEST-org.orcid.frontend.web.controllers.PeerReviewsControllerTest.xml 2✅ 4s
TEST-org.orcid.frontend.web.controllers.PIDControllerTest.xml 1✅ 4s
TEST-org.orcid.frontend.web.controllers.PublicProfileControllerTest.xml 5✅ 4s
TEST-org.orcid.frontend.web.controllers.PublicRecordControllerTest.xml 7✅ 4s
TEST-org.orcid.frontend.web.controllers.RecordCorrectionsControllerTest.xml 4✅ 3s
TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml 17✅ 4s
TEST-org.orcid.frontend.web.controllers.ResearchResourceControllerTest.xml 5✅ 4s
TEST-org.orcid.frontend.web.controllers.ShibbolethControllerTest.xml 2✅ 1ms
TEST-org.orcid.frontend.web.controllers.SpamControllerTest.xml 4✅ 4s
TEST-org.orcid.frontend.web.controllers.WorksControllerTest.xml 10✅ 4s
TEST-org.orcid.frontend.web.controllers.WorkspaceControllerTest.xml 1✅ 7ms
TEST-org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest.xml 7✅ 116ms
TEST-org.orcid.frontend.web.pagination.WorksPaginatorTest.xml 10✅ 822ms
TEST-org.orcid.frontend.web.security.AuthenticationManagerTest.xml 1✅ 4s
TEST-org.orcid.frontend.web.util.CommonPasswordsTest.xml 1✅ 9ms
TEST-org.orcid.frontend.web.util.ThirdPartyLinkManagerTest.xml 4✅ 56ms

✅ TEST-orcid.pojo.ajaxForm.DummyTest.xml

1 tests were completed in 44s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
orcid.pojo.ajaxForm.DummyTest 1✅ 44s

✅ orcid.pojo.ajaxForm.DummyTest

✅ testThis

✅ TEST-orcid.pojo.ajaxForm.WorkFormTest.xml

3 tests were completed in 27ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
orcid.pojo.ajaxForm.WorkFormTest 3✅ 27ms

✅ orcid.pojo.ajaxForm.WorkFormTest

✅ testSerializeWork
✅ testValueOfAndBack
✅ testEmptyTranslatedTitleDontGetIntoTheWork

❌ TEST-org.orcid.frontend.email.RecordEmailSenderTest.xml

12 tests were completed in 2s with 11 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.email.RecordEmailSenderTest 11✅ 1❌ 2s

❌ org.orcid.frontend.email.RecordEmailSenderTest

✅ testResetNotFoundEmail
✅ testSendForgottenIdEmailNotFound
✅ testSendDeactivateEmail
✅ testSendWelcomeEmail
❌ testSendVerificationEmail
	java.lang.IllegalArgumentException:
✅ testSend2FADisabledEmail
✅ testSendOrcidLockedEmail
✅ testClaimReminderEmail
✅ testChangeEmailAddress
✅ testSendReactivationEmail
✅ testSendForgottenIdEmail
✅ testResetEmail

✅ TEST-org.orcid.frontend.oauth2.RevokeControllerTest.xml

6 tests were completed in 200ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.oauth2.RevokeControllerTest 6✅ 200ms

✅ org.orcid.frontend.oauth2.RevokeControllerTest

✅ tokenAlreadyDisabledOrNonExistingTest
✅ disableByTokenTest
✅ refreshTokenAlreadyDisabledTest
✅ notOwnerTest
✅ disableByRefreshTokenTest
✅ noTokenTest

✅ TEST-org.orcid.frontend.salesforce.adapter.SalesForceAdapterTest.xml

4 tests were completed in 216ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.salesforce.adapter.SalesForceAdapterTest 4✅ 216ms

✅ org.orcid.frontend.salesforce.adapter.SalesForceAdapterTest

✅ testCreateMembersListFromJson
✅ testCreateMemberFromSalesForceRecordWithNullValues
✅ testCreateMemberFromSalesForceRecord
✅ testCreateIntegrationsListFromJson

✅ TEST-org.orcid.frontend.web.controllers.AdminControllerTest.xml

24 tests were completed in 7s with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.AdminControllerTest 24✅ 7s

✅ org.orcid.frontend.web.controllers.AdminControllerTest

✅ deactivateAndReactivateProfileTest
✅ testUnreviewAccounts
✅ findIdsTest
✅ deactivateOrcidRecords
✅ resetPasswordTest
✅ verifyEmailTest
✅ testGetLockReasons
✅ testCheckOrcid
✅ startDelegationProcess
✅ testConvertClient
✅ testReviewAccounts
✅ testValidateClientConversion
✅ addANewEmailToARecordThatAlreadyExistOnOtherAccount
✅ preventDisablingMembersTest
✅ testLockAccounts
✅ addANewEmailToARecord
✅ testUnlockAccounts
✅ resendClaimEmail
✅ resetPasswordTestOrcidURL
✅ adminSwitchUser
✅ resetPasswordUsingEmailTest
✅ addANewEmailToARecordThatIsDuplicated
✅ tryToDeprecateDeprecatedProfile
✅ resetPasswordValidateId

✅ TEST-org.orcid.frontend.web.controllers.AffiliationsControllerTest.xml

1 tests were completed in 44ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.AffiliationsControllerTest 1✅ 44ms

✅ org.orcid.frontend.web.controllers.AffiliationsControllerTest

✅ testSearchDisambiguated

✅ TEST-org.orcid.frontend.web.controllers.BaseControllerUtilTest.xml

6 tests were completed in 70ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.BaseControllerUtilTest 6✅ 70ms

✅ org.orcid.frontend.web.controllers.BaseControllerUtilTest

✅ getCurrentUserNoPrincipal
✅ getCurrentUserNoAuthentication
✅ getCurrentUserNoSecurittyContext
✅ getCurrentUserWrongAuthenticationClass
✅ getCurrentUserUsernamePasswordAuthenticationToken
✅ getCurrentUserPreAuthenticatedAuthenticationToken

✅ TEST-org.orcid.frontend.web.controllers.ClaimControllerTest.xml

3 tests were completed in 697ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.ClaimControllerTest 3✅ 697ms

✅ org.orcid.frontend.web.controllers.ClaimControllerTest

✅ testClaim
✅ testResendClaimEmail
✅ testResendEmailFailIfTheProfileIsAlreadyClaimed

✅ TEST-org.orcid.frontend.web.controllers.ClientsControllerTest.xml

9 tests were completed in 8s with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.ClientsControllerTest 9✅ 8s

✅ org.orcid.frontend.web.controllers.ClientsControllerTest

✅ emptyClientTest
✅ editClientTest
✅ testInvalidName
✅ createInvalidClientTest
✅ getClientsTest
✅ testInvalidWebsite
✅ testInvalidDescription
✅ addClientTest
✅ editInvalidClientTest

✅ TEST-org.orcid.frontend.web.controllers.DeveloperToolsControllerTest.xml

7 tests were completed in 75ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.DeveloperToolsControllerTest 7✅ 75ms

✅ org.orcid.frontend.web.controllers.DeveloperToolsControllerTest

✅ createClientTest
✅ testCrossSiteScriptingOnClientName
✅ testClientValidation
✅ updateClientTest
✅ resetClientSecretTest
✅ getClientTest
✅ testCrossSiteScriptingOnClientDescription

✅ TEST-org.orcid.frontend.web.controllers.FundingsControllerTest.xml

17 tests were completed in 5s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.FundingsControllerTest 17✅ 5s

✅ org.orcid.frontend.web.controllers.FundingsControllerTest

✅ testValidateAmountLocaleEN_US
✅ testValidateAmountLocaleRU
✅ testGetFundingsJsonSortedBySource
✅ testAddFundingWithoutAmount
✅ validateBigDecimalConversionLocaleRU
✅ testEditOrgOnExistingFunding
✅ validateBigDecimalConversionLocaleDE_CH
✅ validateBigDecimalConversionLocaleUS_EN
✅ getFunding
✅ testVAlidateAmountLocaleDE_CH
✅ testAddFundingWithInvalidDates
✅ testAddFunding
✅ testEditFunding
✅ testEditOtherSourceThrowsError
✅ testSearchDisambiguated
✅ testAddAmountWithoutCurrencyCode
✅ testGetFundingsJson

✅ TEST-org.orcid.frontend.web.controllers.GetMyDataControllerTest.xml

1 tests were completed in 178ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.GetMyDataControllerTest 1✅ 178ms

✅ org.orcid.frontend.web.controllers.GetMyDataControllerTest

✅ testDownload

✅ TEST-org.orcid.frontend.web.controllers.ManageMembersControllerTest.xml

17 tests were completed in 4s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.ManageMembersControllerTest 17✅ 4s

✅ org.orcid.frontend.web.controllers.ManageMembersControllerTest

✅ testDeactivateClientAlreadyDeactivated
✅ createMemberProfileWithInvalidTypeTest
✅ editGroupTypeTest
✅ testActivateClientAlreadyActive
✅ findMemberByOrcidTest
✅ testDeactivateClient
✅ createMemberProfileWithInvalidEmailsTest
✅ findClientTest
✅ createMemberProfileTest
✅ editClientWithInvalidRedirectUriTest
✅ editMemberTest
✅ editMemberDoesntChangePersistentTokenEnabledValueTest
✅ editMemberWithInvalidSalesforceIdTest
✅ editMemberWithInvalidEmailTest
✅ testActivateClient
✅ createMemberProfileWithInvalidSalesforceIdTest
✅ createMemberProfileWithInvalidGroupNameTest

✅ TEST-org.orcid.frontend.web.controllers.ManageProfileControllerTest.xml

33 tests were completed in 132ms with 33 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.ManageProfileControllerTest 33✅ 132ms

✅ org.orcid.frontend.web.controllers.ManageProfileControllerTest

✅ testAddEmail_noPrimaryEmailChange
✅ testGetDeprecateProfile
✅ testDeleteEmailJsonBlankEmail
✅ testSetPrimary_nothingChange
✅ testConfirmDeprecateProfileCurrentProfileDeprecated
✅ testEditEmail_noPrimaryChange
✅ testDeleteEmail
✅ testConfirmDeprecateProfileWithInvalidDataMatchingAccounts
✅ testConfirmDeprecateProfileWithInvalidDataDeactivatedProfile
✅ testValidateDeprecateProfileWithValidData
✅ testConfirmDeprecateProfileWithInvalidDataAlreadyDeprecatedProfile
✅ testDeleteEmailOnlyEmail
✅ testDeleteEmailJsonWrongOwner
✅ testValidateDeprecateProfileWithInvalidDataMatchingAccounts
✅ testAddDelegate
✅ testAddEmail_primaryEmailChange
✅ testConfirmDeprecateProfile
✅ testValidateDeprecateProfileWithInvalidDataAlreadyDeprecatedProfile
✅ testStripHtmlFromNames
✅ testValidateBiography
✅ testGetDelegates
✅ validateEmailAddressTest
✅ testConfirmDeprecateProfileCurrentProfileDeactivated
✅ testRevokeDelegate
✅ testValidateDeprecateProfileWithInvalidDataDeactivatedProfile
✅ testValidateDeprecateProfileWithInvalidDataBadCredentials
✅ testDeleteEmailPrimaryEmail
✅ testSetPrimary_primaryEmailChangeAndPrimaryIsNotVerified
✅ testVerifyEmail
✅ testConfirmDeprecateProfileWithInvalidDataBadCredentials
✅ testSetPrimary_primaryEmailChange
✅ testEditEmail_primaryEmailChange
✅ testConfirmDeprecateProfileUnkownError

✅ TEST-org.orcid.frontend.web.controllers.OauthGenericCallsControllerTest.xml

2 tests were completed in 58ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.OauthGenericCallsControllerTest 2✅ 58ms

✅ org.orcid.frontend.web.controllers.OauthGenericCallsControllerTest

✅ testObtainOauth2TokenPostLockedClient
✅ testObtainOauth2TokenPost

✅ TEST-org.orcid.frontend.web.controllers.OauthRegistrationControllerTest.xml

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.OauthRegistrationControllerTest 1✅ 4s

✅ org.orcid.frontend.web.controllers.OauthRegistrationControllerTest

✅ testStripHtmlFromNames

✅ TEST-org.orcid.frontend.web.controllers.OrgControllerTest.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.OrgControllerTest 1✅ 3s

✅ org.orcid.frontend.web.controllers.OrgControllerTest

✅ testFindBySourceTypeAndSourceId

✅ TEST-org.orcid.frontend.web.controllers.PasswordResetControllerTest.xml

7 tests were completed in 3s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.PasswordResetControllerTest 7✅ 3s

✅ org.orcid.frontend.web.controllers.PasswordResetControllerTest

✅ testPasswordResetUserNotFoundSendEmail
✅ testPasswordResetLinkExpired
✅ testResetPasswordDontFailIfAnyFieldIsEmtpy
✅ testPasswordResetUnclaimedSendEmail
✅ testPasswordResetUserDeactivatedSendEmail
✅ testSubmitConsolidatedPasswordReset
✅ testPasswordResetLinkValidLinkDirectsToConsolidatedScreenDirectly

✅ TEST-org.orcid.frontend.web.controllers.PeerReviewsControllerTest.xml

2 tests were completed in 4s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.PeerReviewsControllerTest 2✅ 4s

✅ org.orcid.frontend.web.controllers.PeerReviewsControllerTest

✅ testSearchDisambiguated
✅ testGetPeerReviews

✅ TEST-org.orcid.frontend.web.controllers.PIDControllerTest.xml

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.PIDControllerTest 1✅ 4s

✅ org.orcid.frontend.web.controllers.PIDControllerTest

✅ testNorm

✅ TEST-org.orcid.frontend.web.controllers.PublicProfileControllerTest.xml

5 tests were completed in 4s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.PublicProfileControllerTest 5✅ 4s

✅ org.orcid.frontend.web.controllers.PublicProfileControllerTest

✅ testGetPersonDetails
✅ testGetGroupedAffiliations
✅ testViewValidUser
✅ testViewClaimedUserWhenIsLongEnough
✅ getUserInfoTest

✅ TEST-org.orcid.frontend.web.controllers.PublicRecordControllerTest.xml

7 tests were completed in 4s with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.PublicRecordControllerTest 7✅ 4s

✅ org.orcid.frontend.web.controllers.PublicRecordControllerTest

✅ testGetRecordSummary
✅ testGetRecordSummaryProfessionalActivitiesSortedByEndDate
✅ testGetRecordSummaryLocked
✅ testGetRecordSummaryDeprecated
✅ testGetRecordSummaryPrivateName
✅ testGetRecordSummaryDeactivated
✅ testGetPublicRecord

✅ TEST-org.orcid.frontend.web.controllers.RecordCorrectionsControllerTest.xml

4 tests were completed in 3s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.RecordCorrectionsControllerTest 4✅ 3s

✅ org.orcid.frontend.web.controllers.RecordCorrectionsControllerTest

✅ nextOnFirstPageTest
✅ previousOnLastPageTest
✅ nextOnLastPageTest
✅ previousOnFirstPageTest

✅ TEST-org.orcid.frontend.web.controllers.RegistrationControllerTest.xml

17 tests were completed in 4s with 17 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.RegistrationControllerTest 17✅ 4s

✅ org.orcid.frontend.web.controllers.RegistrationControllerTest

✅ regEmailsAdditonalValidateNotSameAsOtherAdditional
✅ verifyEmail_UnableToDecryptEmailTest
✅ verifyEmailTest
✅ regEmailsAdditionalValidateClaimedAccountTest
✅ regEmailValidateClaimedAccountTest
✅ regEmailsAdditionalValidateDeactivatedAndUnclaimedAccountTest
✅ regActivitiesVisibilityDefaultIsNotNull
✅ verifyEmail_InvalidEmailTest
✅ regEmailValidateUnclaimedAccountButEnableAutoDeprecateDisableOnClientTest
✅ regEmailsAdditionalValidateDeactivatedAccountTest
✅ verifyEmail_NotVerifiedTest
✅ regEmailsAdditionalValidateUnclaimedAccountButEnableAutoDeprecateDisableOnClientTest
✅ testStripHtmlFromNames
✅ regEmailValidateUnclaimedAccountTest
✅ regEmailValidateDeactivatedAndUnclaimedAccountTest
✅ regEmailValidateDeactivatedAccountTest
✅ regEmailsAdditonalValidateUnclaimedAccountTest

✅ TEST-org.orcid.frontend.web.controllers.ResearchResourceControllerTest.xml

5 tests were completed in 4s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.ResearchResourceControllerTest 5✅ 4s

✅ org.orcid.frontend.web.controllers.ResearchResourceControllerTest

✅ testUpdateMax
✅ testUpdateVis
✅ testSort
✅ testReadPage
✅ testReadOne

✅ TEST-org.orcid.frontend.web.controllers.ShibbolethControllerTest.xml

2 tests were completed in 1ms with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.ShibbolethControllerTest 2✅ 1ms

✅ org.orcid.frontend.web.controllers.ShibbolethControllerTest

✅ testDuplicateNameHeaders
✅ testNameHeaders

✅ TEST-org.orcid.frontend.web.controllers.SpamControllerTest.xml

4 tests were completed in 4s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.SpamControllerTest 4✅ 4s

✅ org.orcid.frontend.web.controllers.SpamControllerTest

✅ testUpdateSpam
✅ testCreateSpam
✅ testReadOne
✅ testDeleteSpam

✅ TEST-org.orcid.frontend.web.controllers.WorksControllerTest.xml

10 tests were completed in 4s with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.WorksControllerTest 10✅ 4s

✅ org.orcid.frontend.web.controllers.WorksControllerTest

✅ testAddWork
✅ testGetWorkInfoWithContributors
✅ testUpdateWork
✅ testExportToBibtex
✅ testGroupWorks
✅ testEditOtherSourceThrowsError
✅ testGetWorkInfo
✅ testFieldValidators
✅ testGetWorkInfoWithContributorsGroupedByOrcid
✅ testGetWorksInfo

✅ TEST-org.orcid.frontend.web.controllers.WorkspaceControllerTest.xml

1 tests were completed in 7ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.controllers.WorkspaceControllerTest 1✅ 7ms

✅ org.orcid.frontend.web.controllers.WorkspaceControllerTest

✅ validateSmallerThanTest

✅ TEST-org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest.xml

7 tests were completed in 116ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest 7✅ 116ms

✅ org.orcid.frontend.web.filter.OAuthAuthorizeNotSignedInFilterTest

✅ oauth2ScreensFeatureEnabledTest
✅ noAuthentication
✅ nullSession
✅ noSecurityContext
✅ notUriOauthAuthorize
✅ hasOrcidProfileUserDetails
✅ oauth2ScreensFeatureFlagUsedTest

✅ TEST-org.orcid.frontend.web.pagination.WorksPaginatorTest.xml

10 tests were completed in 822ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.pagination.WorksPaginatorTest 10✅ 822ms

✅ org.orcid.frontend.web.pagination.WorksPaginatorTest

✅ testSourceSort
✅ testReverseSecondaryTitleSortForNullDates
✅ testGetAllWorks
✅ testGetPublicWorksPage
✅ testGetWorksExtendedPage
✅ testGetPublicWorksExtendedPage
✅ testTitleSortCase
✅ testGetAllPublic
✅ testGetWorkWithNulltitle
✅ testGetWorksPage

✅ TEST-org.orcid.frontend.web.security.AuthenticationManagerTest.xml

1 tests were completed in 4s with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.security.AuthenticationManagerTest 1✅ 4s

✅ org.orcid.frontend.web.security.AuthenticationManagerTest

✅ testSuccessfullAuthentication

✅ TEST-org.orcid.frontend.web.util.CommonPasswordsTest.xml

1 tests were completed in 9ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.util.CommonPasswordsTest 1✅ 9ms

✅ org.orcid.frontend.web.util.CommonPasswordsTest

✅ testPasswordIsCommon

✅ TEST-org.orcid.frontend.web.util.ThirdPartyLinkManagerTest.xml

4 tests were completed in 56ms with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.frontend.web.util.ThirdPartyLinkManagerTest 4✅ 56ms

✅ org.orcid.frontend.web.util.ThirdPartyLinkManagerTest

✅ findOrcidClientsWithPredefinedOauthScopePeerReviewImportTest
✅ findOrcidClientsWithPredefinedOauthScopeWorksImportTest
✅ findOrcidClientsWithPredefinedOauthScopeFundingImportTest
✅ findOrcidClientsWithPredefinedOauthScopeReadAccessTest

Annotations

Check failure on line 137 in orcid-web/src/test/java/org/orcid/frontend/email/RecordEmailSenderTest.java

See this annotation in the file changed.

@github-actions github-actions / orcid-web Unit Tests

org.orcid.frontend.email.RecordEmailSenderTest ► testSendVerificationEmail

Failed test found in:
  TEST-org.orcid.frontend.email.RecordEmailSenderTest.xml
Error:
  java.lang.IllegalArgumentException: 
Raw output
java.lang.IllegalArgumentException: 
freemarker.core._TemplateModelException: Java method "org.springframework.context.support.AbstractMessageSource.getMessage(String, Object[], Locale)" threw an exception when invoked on org.springframework.context.support.ReloadableResourceBundleMessageSource object "org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:i18n/about, classpath:i18n/api, classpath:i18n/email_admin_delegate_request, classpath:i18n/email_added_as_delegate, classpath:i18n/email_auto_deprecate, classpath:i18n/email_new_claim_reminder, classpath:i18n/email_common, classpath:i18n/email_deactivate, classpath:i18n/email_digest, classpath:i18n/email_forgotten_id, classpath:i18n/email_institutional_connection, classpath:i18n/email_locked, classpath:i18n/email_notification, classpath:i18n/email_reactivation, classpath:i18n/email_removed, classpath:i18n/email_reset_password, classpath:i18n/email_reset_password_not_found, classpath:i18n/email_subject, classpath:i18n/email_tips, classpath:i18n/email_verify, classpath:i18n/email_welcome, classpath:i18n/javascript, classpath:i18n/messages, classpath:i18n/admin, classpath:i18n/identifiers, classpath:i18n/notranslate, classpath:i18n/2019-07-emailVisibilitySettings, classpath:i18n/ng_orcid, classpath:i18n/ng_orcid_signin, classpath:i18n/email2faDisabled, classpath:i18n/layout, classpath:i18n/notification_share, classpath:i18n/notification_digest, classpath:i18n/notification_delegate, classpath:i18n/notification_announcement, classpath:i18n/notification_admin_delegate]"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${messages.getMessage(key, messageArg...  [in template "email_macros.ftl" in macro "msg" at line 4, column 35]
	- Reached through: @emailMacros.msg "email.verify.primar...  [in template "verification_email_v2.ftl" at line 21, column 5]
----
	at org.orcid.frontend.email.RecordEmailSenderTest.testSendVerificationEmail(RecordEmailSenderTest.java:137)
Caused by: freemarker.core._TemplateModelException: 
Java method "org.springframework.context.support.AbstractMessageSource.getMessage(String, Object[], Locale)" threw an exception when invoked on org.springframework.context.support.ReloadableResourceBundleMessageSource object "org.springframework.context.support.ReloadableResourceBundleMessageSource: basenames=[classpath:i18n/about, classpath:i18n/api, classpath:i18n/email_admin_delegate_request, classpath:i18n/email_added_as_delegate, classpath:i18n/email_auto_deprecate, classpath:i18n/email_new_claim_reminder, classpath:i18n/email_common, classpath:i18n/email_deactivate, classpath:i18n/email_digest, classpath:i18n/email_forgotten_id, classpath:i18n/email_institutional_connection, classpath:i18n/email_locked, classpath:i18n/email_notification, classpath:i18n/email_reactivation, classpath:i18n/email_removed, classpath:i18n/email_reset_password, classpath:i18n/email_reset_password_not_found, classpath:i18n/email_subject, classpath:i18n/email_tips, classpath:i18n/email_verify, classpath:i18n/email_welcome, classpath:i18n/javascript, classpath:i18n/messages, classpath:i18n/admin, classpath:i18n/identifiers, classpath:i18n/notranslate, classpath:i18n/2019-07-emailVisibilitySettings, classpath:i18n/ng_orcid, classpath:i18n/ng_orcid_signin, classpath:i18n/email2faDisabled, classpath:i18n/layout, classpath:i18n/notification_share, classpath:i18n/notification_digest, classpath:i18n/notification_delegate, classpath:i18n/notification_announcement, classpath:i18n/notification_admin_delegate]"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${messages.getMessage(key, messageArg...  [in template "email_macros.ftl" in macro "msg" at line 4, column 35]
	- Reached through: @emailMacros.msg "email.verify.primar...  [in template "verification_email_v2.ftl" at line 21, column 5]
----
	at org.orcid.frontend.email.RecordEmailSenderTest.testSendVerificationEmail(RecordEmailSenderTest.java:137)
Caused by: org.springframework.context.NoSuchMessageException: No message found under code 'email.verify.primary_reminder_v2' for locale 'en'.
	at org.orcid.frontend.email.RecordEmailSenderTest.testSendVerificationEmail(RecordEmailSenderTest.java:137)