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

Tweak TrsDataSyncService config for more reliability #1282

Merged
merged 1 commit into from
Apr 15, 2024

Tweak TrsDataSyncService config for more reliability

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

Tweak TrsDataSyncService config for more reliability #1282

Tweak TrsDataSyncService config for more reliability
917c08d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Authorize access test results succeeded Apr 15, 2024 in 1s

73 passed, 0 failed and 0 skipped

Tests passed successfully

✅ TeachingRecordSystem/tests/TeachingRecordSystem.AuthorizeAccess.Tests/TestResults/_fv-az883-999_2024-04-15_11_17_20.trx

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

Test suite Passed Failed Skipped Time
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.CheckAnswersTests 12✅ 2s
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.ConnectTests 8✅ 2s
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.FoundTests 4✅ 2s
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NationalInsuranceNumberTests 14✅ 4s
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NotFoundTests 6✅ 2s
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NotVerifiedTests 4✅ 2s
TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.TrnTests 16✅ 3s
TeachingRecordSystem.AuthorizeAccess.Tests.SignInJourneyHelperTests 9✅ 4s

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.CheckAnswersTests

✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NationalInsuranceNumberNotSpecified_RedirectsToNationalInsuranceNumberPage
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_TrnNotSpecified_RedirectsToTrnPage
✅ Get_ValidRequest_RendersExpectedContent
✅ Post_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Post_NationalInsuranceNumberNotSpecified_RedirectsToNationalInsuranceNumberPage
✅ Post_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Post_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Post_TrnNotSpecified_RedirectsToTrnPage
✅ Post_ValidRequest_RedirectsToNotFoundPage

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.ConnectTests

✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_ValidRequest_RendersExpectedContent
✅ Post_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Post_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Post_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Post_ValidRequest_RedirectsToStartOfMatchingJourney

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.FoundTests

✅ Get_NotFullyAuthenticated_RedirectsToStartOfMatchingJourney
✅ Get_ValidRequest_RendersExpectedContent
✅ Post_NotAuthenticated_RedirectsToStartOfMatchingJourney
✅ Post_ValidRequest_RedirectsToStateRedirectUri

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NationalInsuranceNumberTests

✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_ValidRequest_RendersExpectedContent(haveExistingValueInState: False)
✅ Get_ValidRequest_RendersExpectedContent(haveExistingValueInState: True)
✅ Post_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Post_EmptyNationalInsuranceNumber_RendersError
✅ Post_HaveNationalInsuranceNumberNotAnswered_RendersError
✅ Post_HaveNationalInsuranceNumberNotSpecified_UpdatesStateAndRedirectsToTrnPage
✅ Post_InvalidNationalInsuranceNumber_RendersError
✅ Post_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Post_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Post_ValidNationalInsuranceNumberAndLookupSucceeded_UpdatesStateUpdatesOneLoginUserCompletesAuthenticationAndRedirectsToFoundPage
✅ Post_ValidNationalInsuranceNumberButLookupFailed_UpdatesStateAndRedirectsToTrnPage

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NotFoundTests

✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NationalInsuranceNumberNotSpecified_RedirectsToNationalInsuranceNumberPage
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_TrnNotSpecified_RedirectsToTrnPage
✅ Get_ValidRequest_RendersExpectedContent

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NotVerifiedTests

✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_ValidRequest_ReturnsExpectedContent
✅ Get_VerifiedWithOneLogin_ReturnsBadRequest

✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.TrnTests

✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NationalInsuranceNumberNotSpecified_RedirectsToNationalInsuranceNumberPage
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_ValidRequest_RendersExpectedContent(haveExistingValueInState: False)
✅ Get_ValidRequest_RendersExpectedContent(haveExistingValueInState: True)
✅ Post_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Post_EmptyTrn_RendersError
✅ Post_HaveTrnNotAnswered_RendersError
✅ Post_InvalidTrn_RendersError
✅ Post_NationalInsuranceNumberNotSpecified_RedirectsToNationalInsuranceNumberPage
✅ Post_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Post_NoTrnSpecified_UpdatesStateAndRedirectsToCheckAnswersPage
✅ Post_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Post_ValidTrnAndLookupSucceeded_UpdatesStateUpdatesOneLoginUserCompletesAuthenticationAndRedirectsToFoundPage
✅ Post_ValidTrnButLookupFailed_UpdatesStateAndRedirectsToCheckAnswersPage

✅ TeachingRecordSystem.AuthorizeAccess.Tests.SignInJourneyHelperTests

✅ OnSignedInWithOneLogin_AuthenticationAndVerification_VerificationFailed_RedirectsToErrorPage
✅ OnSignedInWithOneLogin_AuthenticationAndVerification_VerificationSucceeded_RedirectsToStartOfMatchingJourney
✅ OnSignedInWithOneLogin_AuthenticationOnly_UserAlreadyExistsAndTeachingRecordKnown_CompletesJourney
✅ OnSignedInWithOneLogin_AuthenticationOnly_UserAlreadyExistsButTeachingNotRecordKnown_RequestsIdentityVerification
✅ OnSignedInWithOneLogin_AuthenticationOnly_UserDoesNotExist_RequestsIdentityVerification
✅ TryMatchToTeachingRecord_MatchesMultipleResults_ReturnsFalseAndDoesNotSetAuthenticationTicket
✅ TryMatchToTeachingRecord_MatchesSingleResult_ReturnsTrueAndUpdatesOneLoginUserAssignsAuthenticationTicket
✅ TryMatchToTeachingRecord_MatchesSingleResultWithoutTrn_ReturnsFalseAndDoesNotSetAuthenticationTicket
✅ TryMatchToTeachingRecord_MatchesZeroResults_ReturnsFalseAndDoesNotSetAuthenticationTicket