Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user revoked tokens to delete #7060

Merged
merged 28 commits into from
Aug 4, 2024

More unit tests

e30fbe1
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Allow user revoked tokens to delete #7060

More unit tests
e30fbe1
Select commit
Loading
Failed to load commit list.
GitHub Actions / orcid-scheduler-web Unit Tests succeeded Aug 1, 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✅ 21s
TEST-org.orcid.scheduler.email.trickle.manager.impl.TrickleManagerImplTest.xml 10✅ 76ms
TEST-org.orcid.scheduler.loader.FundrefOrgLoadSourceTest.xml 6✅ 391ms
TEST-org.orcid.scheduler.loader.io.FtpsFileDownloaderTest.xml 9✅ 179ms
TEST-org.orcid.scheduler.loader.io.OrgDataClientTest.xml 4✅ 3ms
TEST-org.orcid.scheduler.loader.manager.OrgLoadManagerTest.xml 4✅ 20ms
TEST-org.orcid.scheduler.loader.RorOrgLoadSourceTest.xml 12✅ 82ms
TEST-org.orcid.scheduler.tasks.impl.IdentityProviderManagerTest.xml 2✅ 30ms

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

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

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

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

✅ testAddWorksToRecordEmail
✅ testCreateDigest

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

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

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

✅ 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 391ms with 6 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.FundrefOrgLoadSourceTest 6✅ 391ms

✅ org.orcid.scheduler.loader.FundrefOrgLoadSourceTest

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

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

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

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

✅ 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 3ms with 4 passed, 0 failed and 0 skipped.

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

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

✅ testGet
✅ testGetFailure
✅ testDownloadFileSuccess
✅ testDownloadFileFailure

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

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

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

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

✅ testLoadOrgs
✅ testLoadOrgsDownloadOrgDataFailure
✅ testLoadOrgsNextSourceDisabled
✅ testLoadOrgsLoadOrgDataFailure

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

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

Test suite Passed Failed Skipped Time
org.orcid.scheduler.loader.RorOrgLoadSourceTest 12✅ 82ms

✅ 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
✅ testSetDisabled

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

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

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

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

✅ testCreateEntityFromXmlWithLegacyNames
✅ testCreateEntityFromXml