Skip to content

Fix test that have dup key #373

Fix test that have dup key

Fix test that have dup key #373

GitHub Actions / orcid-scheduler-web Unit Tests succeeded Jan 31, 2024 in 0s

orcid-scheduler-web Unit Tests ✅

Tests passed successfully

Report Passed Failed Skipped Time
TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml 2✅ 24s
TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml 10✅ 39ms
TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml 6✅ 1s
TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml 9✅ 210ms
TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml 4✅ 4ms
TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml 4✅ 8ms
TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml 13✅ 104ms
TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml 2✅ 12ms

✅ TEST-org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest 2✅ 24s

✅ org.orcid.scheduler.email.cli.manager.EmailMessageSenderTest

✅ testAddWorksToRecordEmail
✅ testCreateDigest

✅ TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest 10✅ 39ms

✅ org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest

✅ testAttemptSendSkippedAccountDeprecated
✅ testAttemptSendMarketingSuccess
✅ testAttemptSendAlreadyProcessed
✅ testAttemptSendSkipped
✅ testAttemptMarketingSendFailure
✅ testAttemptSendSuccess
✅ testAttemptSendSkippedAccountDeactivated
✅ testAttemptSendEmailNoLongerExists
✅ testAttemptSendFailure
✅ testAttemptSendSkippedAccountLocked

✅ TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.FundrefOrgLoadSourceTest 6✅ 1s

✅ org.orcid.scheduler.loader.FundrefOrgLoadSourceTest

✅ testDownloadOrgData
✅ testLoadLatestOrgsNoExistingOrgs
✅ testGetSourceName
✅ testLoadLatestOrgsDownloadFailed
✅ testSetDisabled
✅ testLoadLatestOrgsTwoExistingOrgs

✅ TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.io.FtpsFileDownloaderTest 9✅ 210ms

✅ org.orcid.scheduler.loader.io.FtpsFileDownloaderTest

✅ testDownloadFileNoPropsSet
✅ testDownloadFileNoUsername
✅ testDownloadFileNoLocalFilePath
✅ testDownloadFileNoPassword
✅ testDownloadFileSuccess
✅ testDownloadFileNoRemoteFilePath
✅ testDownloadFileErrorOccurs
✅ testDownloadFileNoHost
✅ testDownloadFileNoPort

✅ TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.io.OrgDataClientTest 4✅ 4ms

✅ org.orcid.scheduler.loader.io.OrgDataClientTest

✅ testGet
✅ testGetFailure
✅ testDownloadFileSuccess
✅ testDownloadFileFailure

✅ TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.manager.OrgLoadManagerTest 4✅ 8ms

✅ org.orcid.scheduler.loader.manager.OrgLoadManagerTest

✅ testLoadOrgs
✅ testLoadOrgsDownloadOrgDataFailure
✅ testLoadOrgsNextSourceDisabled
✅ testLoadOrgsLoadOrgDataFailure

✅ TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml

13 tests were completed in 104ms with 13 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.RorOrgLoadSourceTest 13✅ 104ms

✅ org.orcid.scheduler.loader.RorOrgLoadSourceTest

✅ execute_Stats_Test_1
✅ execute_Stats_Test_2
✅ execute_Stats_Test_3
✅ execute_UpdateExistingInstitute_Test
✅ execute_NothingToCreateNothingToUpdate_Test
✅ testDownloadOrgData
✅ execute_DeprecatedObsoleteInstitutes_1_Test
✅ execute_DeprecatedObsoleteInstitutes_2_Test
✅ execute_JustAddOneExeternalIdentifier_Test
✅ testGetSourceName
✅ execute_UpdatePreferredIndicator_Test
✅ execute_AddMissingWikipediaExtId_Test
✅ testSetDisabled

✅ TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest 2✅ 12ms

✅ org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest

✅ testCreateEntityFromXmlWithLegacyNames
✅ testCreateEntityFromXml