Bump Scrutor from 6.1.0 to 7.0.0 #3052
Merged
GitHub Actions / Core.LegacyTests test results
succeeded
Jan 29, 2026 in 1s
172 passed, 0 failed and 0 skipped
✅ TeachingRecordSystem/tests/TeachingRecordSystem.Core.LegacyTests/TestResults/_runnervmxu0kd_2026-01-29_09_34_40.trx
172 tests were completed in 41s with 172 passed, 0 failed and 0 skipped.
✅ TeachingRecordSystem.Core.Tests.Jobs.BatchSendInductionCompletedEmailsJobTests
✅ Execute_EnqueuesEmailForInductionCompletees
✅ TeachingRecordSystem.Core.Tests.Jobs.CapitaExportAmendJobTests
✅ Execute_WithDobChanges_ReturnsExpectedCounts
✅ Execute_WithNationalInsuranceNumberChanges_ReturnsExpectedCounts
✅ Execute_WithNiandDobUpdates_ReturnsExpectedCounts
✅ Execute_WithNoChanges_ReturnsExpectedCounts
✅ GetFileName_ReturnsExpectedFileName
✅ GetPersonAmendedRow_WithDateOfBirthExportType_ReturnsExpectedContent(gender: Female)
✅ GetPersonAmendedRow_WithDateOfBirthExportType_ReturnsExpectedContent(gender: Male)
✅ GetPersonAmendedRow_WithLastNameExceedsSixCharacters_ReturnsExpectedContent
✅ GetPersonAmendedRow_WithLastNameLessThanSixCharacters_ReturnsExpectedContent
✅ GetPersonAmendedRow_WithNationalInsurance_ReturnsExpectedContent(gender: Female)
✅ GetPersonAmendedRow_WithNationalInsurance_ReturnsExpectedContent(gender: Male)
✅ GetUpdateCode_ReturnsExpectedContent(exportType: DateOfBirth, expectedUpdateCode: "1211ZE1*")
✅ GetUpdateCode_ReturnsExpectedContent(exportType: NINumber, expectedUpdateCode: " 321ZE2*")
✅ TeachingRecordSystem.Core.Tests.Jobs.CapitaExportNewJobTests
✅ Execute_MultipleNewRecordsMultiplePreviousNames_ReturnsExpectedContent
✅ Execute_NewRecordWithNoPreviousName_ReturnsExpectedContent
✅ Execute_NewRecordWithPreviousName_ReturnsExpectedContent
✅ Execute_WithNoNewRecords_ReturnsExpectedContent
✅ GetFileName_ReturnsExpectedFileName
✅ GetNewPersonAsStringRow_LastNameLengths_ReturnsExpectedContent(lastName: "lastName")
✅ GetNewPersonAsStringRow_LastNameLengths_ReturnsExpectedContent(lastName: "superduperlonglengthlastname")
✅ GetNewPersonAsStringRow_ValidPersonWithGender_ReturnsExpectedContent(gender: Female, expectedGenderCode: "2")
✅ GetNewPersonAsStringRow_ValidPersonWithGender_ReturnsExpectedContent(gender: Male, expectedGenderCode: "1")
✅ GetNewPersonAsStringRow_ValidPersonWithGender_ReturnsExpectedContent(gender: NotAvailable, expectedGenderCode: " ")
✅ GetNewPersonAsStringRow_ValidPersonWithGender_ReturnsExpectedContent(gender: Other, expectedGenderCode: " ")
✅ GetNewPersonAsStringRow_ValidPersonWithoutDateOfBirth_ReturnsExpectedContent
✅ GetNewPersonAsStringRow_ValidPersonWithoutMiddleName_ReturnsExpectedContent
✅ GetNewPersonAsStringRow_ValidPersonWithoutMiddleName_ReturnsExpectedTrimmedMiddleName
✅ GetNewPersonAsStringRow_ValidPersonWithPreviousName_ReturnsExpectedContent(gender: Female, expectedGenderCode: "2")
✅ GetNewPersonAsStringRow_ValidPersonWithPreviousName_ReturnsExpectedContent(gender: Male, expectedGenderCode: "1")
✅ GetNewPersons_CreatedAferLastRunDateWithoutTrn_ReturnsExpectedRecords
✅ GetNewPersons_CreatedAfterLastRunDate_ReturnsExpectedRecords
✅ GetNewPersons_NoRecordsCreatedAfterLastRunDate_ReturnsExpectedRecords
✅ GetNewPersons_WithNoneValidGenders_ReturnsExpectedRecords(gender: NotAvailable)
✅ GetNewPersons_WithNoneValidGenders_ReturnsExpectedRecords(gender: Other)
✅ GetNewPersonWithPreviousLastNameAsStringRow_WithLastNameExceedingMaxLength_ReturnsExpectedContent
✅ GetNewPersonWithPreviousLastNameAsStringRow_WithMultipleLastNameChanges_ReturnsExpectedContent
✅ GetNewPersonWithPreviousLastNameAsStringRow_WithoutGender_ReturnsExpectedContent
✅ GetNewPersonWithPreviousLastNameAsStringRow_WithValidPreviousName_ReturnsExpectedContent(gender: Female)
✅ GetNewPersonWithPreviousLastNameAsStringRow_WithValidPreviousName_ReturnsExpectedContent(gender: Male)
✅ TeachingRecordSystem.Core.Tests.Jobs.CapitaImportJobTests
✅ Import_AttemptToCreateNewRecordWithoutFirstAndLastName_DoesNothing_ReportsFailureWithValidationMessage
✅ Import_AttemptToUpdateExistingRecordsGender_DoesNothing_ReportsFailureWithMessageAboutAttemptToUpdateGender
✅ Import_AttemptToUpdateExistingRecordsNino_DoesNothing_ReportsFailureWithMessageAboutAttemptToUpdateNino
✅ Import_DoesNotMatchExistingPerson_CreatesPerson_ReportsSuccess
✅ Import_MatchesDeactivatedPersonOnTrn_DoesNothing_ReportsFailure
✅ Import_MatchesExistingPersonOnDob_CreatesPerson_RecordsSuccess
✅ Import_MatchesExistingPersonOnLastNameAndDob_CreatesPerson_ReportsSuccess
✅ Import_MatchesExistingPersonOnNino_CreatesPersonAndCreatesPotentialDuplicateSupportTask_ReportsDuplicate
✅ Import_MatchesExistingPersonOnNinoAndDob_CreatesPersonAndCreatesSupportTask
✅ Import_MatchesExistingPersonOnNinoAndDobAndGender_CreatesPersonAndCreatesSupportTask
✅ Import_MatchesExistingPersonOnNinoAndGender_CreatesPersonAndCreatesPotentialDuplicateSupportTask_ReportsDuplicate
✅ Import_MatchesExistingPersonOnTrnAndAnotherPersonOnFirstNameAndLastNameAndDob_DoesNothing_ReportsWarningWithMessageAboutAttemptToUpdateFirstPersonWithSecondPersonsDetails
✅ Import_MatchesExistingPersonOnTrnAndNinoAndDob_WithDifferentFirstNameAndLastName_DoesNothing_ReportsWarningWithMessageAboutAttemptToUpdateFirstPersonWithSecondPersonsDetails
✅ Import_MatchesExistingPersonWithNinoOnFirstNameAndLastNameAndDob_CreatesPersonAndCreatesPotentialDuplicateSupportTask_ReportsDuplicate
✅ Import_MatchesExistingPersonWithNoNinoOnFirstNameAndLastNameAndDob_CreatesPersonAndCreatesPotentialDuplicateSupportTask_ReportsDuplicate
✅ Import_MatchesExistingPersonWithNoNinoOnTrn_WithDifferentLastName_UpdatesExistingPersonNino_ReportsWarningWithMessageAboutAttemptedUpdateToLastName
✅ Import_MatchesExistingPersonWithNoNinoOnTrnAndGender_WithDifferentLastNameAndFirstName_UpdatesExistingPersonNino_ReportsWarningWithMessageAboutAttemptedUpdateToLastName
✅ Import_MatchesExistingPersonWithNoNinoOnTrnAndGenderAndDobWithDifferentLastNameAndFirstName_UpdatesExistingPersonNino_ReportsWarningWithMessageAboutAttemptedUpdateToLastName
✅ Import_MatchesExistingPersonWithNoNinoOnTrnAndGenderAndLastNameAndDob_UpdatesExistingPersonNino_ReportsSuccess
✅ Import_WhenDateOfBirthIncorrectFormat_DoesNothing_ReportsFailureWithValidationMessage(dateOfBirth: "08011972")
✅ Import_WhenDateOfBirthIncorrectFormat_DoesNothing_ReportsFailureWithValidationMessage(dateOfBirth: "19900231")
✅ Import_WhenDateOfBirthInFuture_DoesNothing_ReportsFailureWithValidationMessage
✅ Import_WhenDateOfBirthMissing_DoesNothing_ReportsFailureWithValidationMessage
✅ Import_WhenDateOfDeathInFuture_DoesNothing_ReportsFailureWithValidationMessage
✅ Import_WhenDateOfDeathInvalid_DoesNothing_ReportsFailureWithValidationMessage(dateOfDeath: "01022025")
✅ Import_WhenDateOfDeathInvalid_DoesNothing_ReportsFailureWithValidationMessage(dateOfDeath: "19900931")
✅ Import_WhenDateOfDeathProvidedForExistingPerson_DeactivatesPerson_ReportsSuccess
✅ Import_WhenDateOfDeathProvidedForNewPerson_CreatesDeactivatedPerson_ReportsSuccess
✅ Import_WhenGenderInvalid_DoesNothing_ReportsFailureWithValidationMessage(gender: "-13")
✅ Import_WhenGenderInvalid_DoesNothing_ReportsFailureWithValidationMessage(gender: "0")
✅ Import_WhenGenderInvalid_DoesNothing_ReportsFailureWithValidationMessage(gender: "3")
✅ Import_WhenGenderMissing_DoesNothing_ReportsFailureWithValidationError
✅ Import_WhenMiddleNameCombinedWithFirstName_CreatesPerson_ReportsSuccess
✅ Import_WhenNinoInvalid_CreatesPerson_RecordsSuccessWithFailureMessage(ni: "1")
✅ Import_WhenNinoInvalid_CreatesPerson_RecordsSuccessWithFailureMessage(ni: "111111111")
✅ Import_WhenNinoInvalid_CreatesPerson_RecordsSuccessWithFailureMessage(ni: "111111a")
✅ Import_WhenNinoInvalid_CreatesPerson_RecordsSuccessWithFailureMessage(ni: "AB123456X")
✅ Import_WhenNinoInvalid_CreatesPerson_RecordsSuccessWithFailureMessage(ni: "AB12345D")
✅ Import_WhenNinoInvalid_CreatesPerson_RecordsSuccessWithFailureMessage(ni: "ABC12345D")
✅ Import_WhenNinoInvalid_CreatesPerson_ReportsSuccessWithFailureMessage(gender: Female)
✅ Import_WhenNinoInvalid_CreatesPerson_ReportsSuccessWithFailureMessage(gender: Male)
✅ Import_WhenNoData_DoesNothing_ReportsZeroCounts
✅ Import_WhenNoMatches_CreatesPerson_ReportsSuccess(gender: Female)
✅ Import_WhenNoMatches_CreatesPerson_ReportsSuccess(gender: Male)
✅ Import_WhenNoMiddleName_CreatesPerson_ReportsSuccess
✅ Import_WhenTrnInvalid_DoesNothing_ReportsFailureWithValidationError(trn: "1")
✅ Import_WhenTrnInvalid_DoesNothing_ReportsFailureWithValidationError(trn: "111111111")
✅ Import_WhenTrnInvalid_DoesNothing_ReportsFailureWithValidationError(trn: "111111a")
✅ Import_WhenTrnMissing_DoesNothing_ReportsFailureWithValidationError
✅ TeachingRecordSystem.Core.Tests.Jobs.DeleteStaleJourneyStatesJobTests
✅ DeleteStaleJourneyStatesJob_RemovesJourneyStatesOlderThanOneDay_UpdatesMetadataLastRunDate
✅ TeachingRecordSystem.Core.Tests.Jobs.EwcWalesImportJobTests
✅ EwcWalesImportJob_GetImportFileType_ReturnsExpected(filename: "", importType: null)
✅ EwcWalesImportJob_GetImportFileType_ReturnsExpected(filename: "IND", importType: Induction)
✅ EwcWalesImportJob_GetImportFileType_ReturnsExpected(filename: "QTS", importType: Qualification)
✅ EwcWalesImportJob_ImportsInvalidFileType_ReturnsExpected
✅ EwcWalesImportJobInduction_DateOfBirthDoesNotMatch_FailsAndReturnsExpectedCounts
✅ EwcWalesImportJobInduction_ImportsInductionFileSuccessfully
✅ EwcWalesImportJobInduction_InductionPassedDateBeforeQtsDate_ReturnsError
✅ EwcWalesImportJobInduction_WithActiveAlert_ImportsInductionFileSuccessfully
✅ EwcWalesImportJobInduction_WithInvalidTRN_ReturnsExpectedCounts
✅ EwcWalesImportJobInduction_WithQtls_ImportsInductionFileSuccessfully
✅ EwcWalesImportJobInduction_WithRequiredToCompleteInductionStatus_UpdatesInductionStatus
✅ EwcWalesImportJobQts_BeforeECDirectiveChange_Format1ImportsQtsFileSuccessfully(qtsStatus: "49")
✅ EwcWalesImportJobQts_BeforeECDirectiveChange_Format1ImportsQtsFileSuccessfully(qtsStatus: "71")
✅ EwcWalesImportJobQts_ECDirectiveBeforeECDirectiveChange_Format1ImportsQtsFileSuccessfully
✅ EwcWalesImportJobQts_Format2ImportsQtsFileSuccessfully
✅ EwcWalesImportJobQts_MultipleSuccessMultipleFailure_ReturnsExpectedCounts
✅ EwcWalesImportJobQts_NonPermittedQtsStatusWhenQtsDatePast_ReturnsError(qtsStatus: "102")
✅ EwcWalesImportJobQts_NonPermittedQtsStatusWhenQtsDatePast_ReturnsError(qtsStatus: "67")
✅ EwcWalesImportJobQts_NonPermittedQtsStatusWhenQtsDatePast_ReturnsError(qtsStatus: "68")
✅ EwcWalesImportJobQts_NonPermittedQtsStatusWhenQtsDatePast_ReturnsError(qtsStatus: "69")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDateBefore_ReturnsSuccess(qtsStatus: "49")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDateBefore_ReturnsSuccess(qtsStatus: "67")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDateBefore_ReturnsSuccess(qtsStatus: "68")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDateBefore_ReturnsSuccess(qtsStatus: "69")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDateBefore_ReturnsSuccess(qtsStatus: "71")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDatePast_ReturnsSuccess(qtsStatus: "49")
✅ EwcWalesImportJobQts_PermittedQtsStatusWhenQtsDatePast_ReturnsSuccess(qtsStatus: "71")
✅ EwcWalesImportJobQts_SingleSuccessAndFailure_ReturnsExpectedCounts
✅ EwcWalesImportJobQts_WelshRAfterECDirectiveChange_Format1ImportsQtsFileSuccessfully(qtsStatus: "49")
✅ EwcWalesImportJobQts_WelshRAfterECDirectiveChange_Format1ImportsQtsFileSuccessfully(qtsStatus: "71")
✅ EwcWalesImportJobQts_WelshRBeforeECDirectiveChange_Format1ImportsQtsFileSuccessfully(qtsStatus: "49")
✅ EwcWalesImportJobQts_WelshRBeforeECDirectiveChange_Format1ImportsQtsFileSuccessfully(qtsStatus: "71")
✅ EwcWalesImportJobQts_WithActiveAlert_ImportsQtsFileSuccessfully
✅ EwcWalesImportJobQts_WithInvalidQtsStatus_ReturnsError(qtsStatus: "", expectedErrorMessage: "Qts status is missing")
✅ EwcWalesImportJobQts_WithInvalidQtsStatus_ReturnsError(qtsStatus: "3343", expectedErrorMessage: "Qts Status must be 49,67, 68,69, 71 or 102")
✅ TeachingRecordSystem.Core.Tests.Jobs.InductionImporterTests
✅ GetLookupData_TrnDoesNotExist_ReturnsNoMatch
✅ GetLookupData_ValidTrnWithoutQTS_ReturnsNoAssociatedQTS
✅ GetLookupData_ValidTrnWithQTS_ReturnsTeacherHasQTS
✅ GetLookupData_WithActiveAlert_ReturnsExpected
✅ Validate_InvalidDateOfBirth_ReturnsError
✅ Validate_InvalidPassedDate_ReturnsError
✅ Validate_InvalidStartDate_ReturnsError
✅ Validate_MissingDateOfBirth_ReturnsError
✅ Validate_MissingReferenceNumber_ReturnsError
✅ Validate_MissingStartDate_ReturnsError
✅ Validate_MissinPassedDate_ReturnsError
✅ Validate_PassedDateBeforeQtsDate_ReturnsError
✅ Validate_PassedDateBeforeStartDate_ReturnsError
✅ Validate_ReferenceNumberNotFound_ReturnsError
✅ Validate_StartDateBeforeQtsDate_ReturnsError
✅ Validate_WithCompletedInduction_ReturnsError(inductionStatus: Failed)
✅ Validate_WithCompletedInduction_ReturnsError(inductionStatus: FailedInWales)
✅ Validate_WithCompletedInduction_ReturnsError(inductionStatus: InProgress)
✅ Validate_WithCompletedInduction_ReturnsError(inductionStatus: Passed)
✅ Validate_WithoutEndDate_ReturnsNoErrors(accountNumber: "12345")
✅ Validate_WithoutEndDate_ReturnsNoErrors(accountNumber: "212324")
✅ Validate_WithQtlsDate_DoesNotReturnError
✅ TeachingRecordSystem.Core.Tests.Jobs.QtsImporterTests
✅ GetLookupData_ConvertToCSVString_ReturnsExpectedCSV
✅ GetLookupData_TeacherStatusIsNotMatchForUnrecognizedStatus(qtsStatus: "")
✅ GetLookupData_TeacherStatusIsNotMatchForUnrecognizedStatus(qtsStatus: "63")
✅ GetLookupData_TeacherStatusIsNotNullForRecognizedStatus(qtsStatus: "49")
✅ GetLookupData_TeacherStatusIsNotNullForRecognizedStatus(qtsStatus: "67")
✅ GetLookupData_TeacherStatusIsNotNullForRecognizedStatus(qtsStatus: "71")
✅ GetLookupData_TrnDoesNotExist_ReturnsNoMatch
✅ GetLookupData_ValidRow_PopulatesLookupDate
✅ GetLookupData_WithActiveAlert_ReturnsExpected
✅ Validate_ExistingTeacherDateOfBirthDoesNotMatch_ReturnsErrorMessage
✅ Validate_ExistingWelshR_ReturnsNoErrors
✅ Validate_MatchesExistingWelshR_ReturnsErrorMessage
✅ Validate_NoneExistentTeacher_ReturnsErrorMessage
✅ Validate_QtsDateInTheFuture_ReturnErrorMessage
✅ Validate_QualifiedTeacherEcDirectiveStatusAfterRegsChangeDate_ReturnErrorMessage
✅ Validate_QualifiedTeacherEcDirectiveStatusBeforeRegsChangeDate_DoesNotReturnErrorMessage
✅ Validate_ValidCountry_ReturnsErrorMessage
✅ Validate_WithMalformedDateOfBirth_ReturnsErrorMessages
✅ Validate_WithMalformedQTSDate_ReturnsErrorMessages
✅ Validate_WithMissingMandatoryFields_ReturnsErrorMessages
✅ TeachingRecordSystem.Core.Tests.Jobs.RefreshTrainingProvidersJobTests
✅ RefreshTrainingProvidersJob_WhenCalledForExistingUkprn_UpdatesTrainingProvider
✅ RefreshTrainingProvidersJob_WhenCalledForNewUkprn_AddsNewTrainingProvider
✅ RefreshTrainingProvidersJob_WhenCalledForWithExistingUkprnMissing_DeactivatesTrainingProvider
✅ TeachingRecordSystem.Core.Tests.Jobs.SendAytqInviteEmailJobTests
✅ Execute_WhenCalled_GetsTrnTokenSendsEmailAddsEventAndUpdatesDatabase
✅ TeachingRecordSystem.Core.Tests.Jobs.SendInductionCompletedEmailJobTests
✅ Execute_WhenCalled_GetsTrnTokenSendsEmailAddsEventAndUpdatesDatabase
Loading