Add One Login header #2349
GitHub Actions / Authorize access test results
succeeded
Apr 5, 2024 in 0s
43 passed, 0 failed and 0 skipped
✅ TeachingRecordSystem/tests/TeachingRecordSystem.AuthorizeAccess.Tests/TestResults/_fv-az651-360_2024-04-05_09_45_53.trx
43 tests were completed in 7s with 43 passed, 0 failed and 0 skipped.
✅ 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_ContinueWithout_UpdatesStateAndRedirectsToTrnPage
✅ Post_EmptyNationalInsuranceNumber_RendersError
✅ Post_InvalidNationalInsuranceNumber_RendersError
✅ Post_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Post_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Post_ValidNationalInsuranceNumberAndLookupSucceeded_UpdatesStateUpdatesOneLoginUserCompletesAuthenticationAndRedirectsToStateRedirectUri
✅ Post_ValidNationalInsuranceNumberButLookupFailed_UpdatesStateAndRedirectsToTrnPage
✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NotFoundTests
✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NationalInsuranceNumberNotSpecified_RedirectsToStartOfMatchingQuestions
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_TrnNotSpecified_RedirectsToStartOfMatchingQuestions
✅ Get_ValidRequest_RendersExpectedContent
✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.NotVerifiedTests
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_ValidRequest_ReturnsExpectedContent
✅ Get_VerifiedWithOneLogin_ReturnsBadRequest
✅ TeachingRecordSystem.AuthorizeAccess.Tests.PageTests.TrnTests
✅ Get_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Get_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Get_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Get_ValidRequest_RendersExpectedContent(haveExistingValueInState: False)
✅ Get_ValidRequest_RendersExpectedContent(haveExistingValueInState: True)
✅ Post_AlreadyAuthenticated_RedirectsToStateRedirectUri
✅ Post_EmptyTrn_RendersError
✅ Post_InvalidTrn_RendersError
✅ Post_NotAuthenticatedWithOneLogin_ReturnsBadRequest
✅ Post_NotVerifiedWithOneLogin_ReturnsBadRequest
✅ Post_ValidTrnAndLookupSucceeded_UpdatesStateUpdatesOneLoginUserCompletesAuthenticationAndRedirectsToStateRedirectUri
✅ Post_ValidTrnButLookupFailed_UpdatesStateAndRedirectsToNotFoundPage
✅ 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
Loading