Skip to content

Show timestamps in local time on Change log #1782

Show timestamps in local time on Change log

Show timestamps in local time on Change log #1782

GitHub Actions / DQT integration test results failed Jan 8, 2024 in 1s

DQT integration test results ❌

Tests failed

❌ TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx

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

Test suite Passed Failed Skipped Time
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.ApproveIncidentTests 1✅ 36s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CancelIncidentTests 1✅ 29s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CloseSanctionTests 1✅ 16s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateDateOfBirthChangeIncidentTests 1✅ 20s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateMandatoryQualificationTests 1❌ 2s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateNameChangeIncidentTests 1✅ 34s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateSanctionTests 1✅ 26s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.DeleteQualificationTests 1✅ 20s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetActiveIncidentsTests 1✅ 34s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllEarlyYearsStatusesTests 1✅ 805ms
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllMqEstablishmentsTests 1✅ 934ms
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllSanctionCodesTests 1✅ 924ms
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllSpecialismsTests 1✅ 925ms
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllSubjectsTests 1✅ 965ms
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllTeacherStatusesTests 1✅ 925ms
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactByTrnTests 2✅ 27s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactDetailByIdTests 3✅ 41s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactDetailByTrnTests 3✅ 35s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactsByDateOfBirthTests 6✅ 60s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactsByLastNameAndDateOfBirthTests 1✅ 40s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactsByNameTests 6✅ 7s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetDocumentByIdTests 2✅ 21s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetIncidentByTicketNumberTests 3✅ 41s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetNotesByContactIdTests 9✅ 60s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationByIdTests 1✅ 1❌ 2s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationsByContactIdTests 1✅ 1❌ 10s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetSanctionDetailsByContactIdTests 2✅ 39s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetSanctionDetailsBySanctionIdTests 1✅ 31s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetSanctionsByContactIdsTests 1✅ 44s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.RejectIncidentTests 1✅ 36s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateContactDateOfBirthTests 1✅ 25s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateContactNameTests 1✅ 20s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationEstablishmentTests 1❌ 2s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationSpecialismTests 1❌ 2s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStartDateTests 1❌ 2s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStatusTests 2❌ 2s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateSanctionStateTests 2✅ 39s
TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.Services.DqtReporting.DqtReportingServiceTests 5✅ 3s

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.ApproveIncidentTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CancelIncidentTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CloseSanctionTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateDateOfBirthChangeIncidentTests

✅ QueryExecutesSuccessfully

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateMandatoryQualificationTests

❌ QueryExecutesSuccessfully
	System.InvalidOperationException : Sequence contains more than one matching element

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateNameChangeIncidentTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateSanctionTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.DeleteQualificationTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetActiveIncidentsTests

✅ ReturnsActiveIncidentsOnly

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllEarlyYearsStatusesTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllMqEstablishmentsTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllSanctionCodesTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllSpecialismsTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllSubjectsTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetAllTeacherStatusesTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactByTrnTests

✅ WhenCalled_WithTrnForExistingContact_ReturnsContactDetail
✅ WhenCalled_WithTrnForNonExistentContact_ReturnsNull

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactDetailByIdTests

✅ WhenCalled_WithContactIdForExistingContact_ReturnsContactDetail
✅ WhenCalled_WithContactIdForExistingContactWithPreviousName_ReturnsContactDetailIncludingPreviousNames
✅ WhenCalled_WithContactIdForNonExistentContact_ReturnsNull

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactDetailByTrnTests

✅ WhenCalled_WithTrnForExistingContact_ReturnsContactDetail
✅ WhenCalled_WithTrnForExistingContactWithPreviousName_ReturnsContactDetailIncludingPreviousNames
✅ WhenCalled_WithTrnForNonExistentContact_ReturnsNull

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactsByDateOfBirthTests

✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = False, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_1(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = LastNameDescending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = False, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_3(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = FirstNameDescending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = False, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_5(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = DateOfBirthDescending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = True, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_0(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = LastNameAscending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = True, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_2(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = FirstNameAscending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = True, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_4(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = DateOfBirthAscending })

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactsByLastNameAndDateOfBirthTests

✅ ReturnsMatchingContactsFromCrm

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetContactsByNameTests

✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = False, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_1(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = LastNameDescending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = False, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_3(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = FirstNameDescending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = False, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_5(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = DateOfBirthDescending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = True, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_0(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = LastNameAscending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = True, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_2(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = FirstNameAscending })
✅ ReturnsMatchingContactsFromCrmInExpectedSortOrder(testScenarioData: ContactSearchSortScenarioData { IsAscending = True, Selector = Func`2 { Method = System.String <GetContactSearchSortScenarioData>b__5_4(TeachingRecordSystem.Core.Dqt.Models.Contact), Target = <>c { ··· } }, SortBy = DateOfBirthAscending })

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetDocumentByIdTests

✅ WhenCalled_WithDocumentIdForExistingDocument_ReturnsDocument
✅ WhenCalled_WithDocumentIdForNonExistentDocument_ReturnsNull

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetIncidentByTicketNumberTests

✅ WhenCalled_ForIncidentWithMultipleDocument_ReturnsSingleIncidentAndMultipleDocuments
✅ WhenCalled_ForIncidentWithSingleDocument_ReturnsSingleIncidentAndSingleDocument
✅ WhenCalled_WithTicketNumberForNonExistentIncident_ReturnsNull

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetNotesByContactIdTests

✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: False, hasTasks: False, hasIncidentResolutions: False)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: False, hasTasks: False, hasIncidentResolutions: True)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: False, hasTasks: True, hasIncidentResolutions: False)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: False, hasTasks: True, hasIncidentResolutions: True)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: True, hasTasks: False, hasIncidentResolutions: False)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: True, hasTasks: False, hasIncidentResolutions: True)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: True, hasTasks: True, hasIncidentResolutions: False)
✅ WhenCalled_WithContactIdForContactWithNoNotes_ReturnsResultWithNotes(hasAnnotations: True, hasTasks: True, hasIncidentResolutions: True)
✅ WhenCalled_WithContactIdForNonExistentContact_ReturnsResultWithEmptyProperties

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationByIdTests

❌ WhenCalled_WithQualificationIdForExistingQualification_ReturnsQualification
	System.InvalidOperationException : Sequence contains more than one matching element
✅ WhenCalled_WithQualificationIdForNonExistentQualification_ReturnsNull

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationsByContactIdTests

✅ WhenCalled_ForContactWithoutQualifications_ReturnsEmptyArray
❌ WhenCalled_ForContactWithQualifications_ReturnsQualificationsAsExpected
	System.InvalidOperationException : Sequence contains more than one matching element

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetSanctionDetailsByContactIdTests

✅ WhenCalled_ForContactWithoutSanctions_ReturnsEmptyArray
✅ WhenCalled_ForContactWithSanctions_ReturnsSanctionsAsExpected

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetSanctionDetailsBySanctionIdTests

✅ WhenCalled_ForSanction_ReturnsSanctionAsExpected

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetSanctionsByContactIdsTests

✅ ReturnsSanctionsForEachContactIdSpecified

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.RejectIncidentTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateContactDateOfBirthTests

✅ QueryExecutesSuccessfully

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateContactNameTests

✅ QueryExecutesSuccessfully

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationEstablishmentTests

❌ QueryExecutesSuccessfully
	System.InvalidOperationException : Sequence contains more than one matching element

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationSpecialismTests

❌ QueryExecutesSuccessfully
	System.InvalidOperationException : Sequence contains more than one matching element

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStartDateTests

❌ QueryExecutesSuccessfully
	System.InvalidOperationException : Sequence contains more than one matching element

❌ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStatusTests

❌ QueryExecutesSuccessfully(originalMqStatus: Failed, originalEndDateString: null, newMqStatus: Passed, newEndDateString: "2021-10-05")
	System.InvalidOperationException : Sequence contains more than one matching element
❌ QueryExecutesSuccessfully(originalMqStatus: Passed, originalEndDateString: "2021-10-05", newMqStatus: Failed, newEndDateString: null)
	System.InvalidOperationException : Sequence contains more than one matching element

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateSanctionStateTests

✅ QueryExecutesSuccessfully(setActive: False)
✅ QueryExecutesSuccessfully(setActive: True)

✅ TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.Services.DqtReporting.DqtReportingServiceTests

✅ ProcessChangesForEntityType_DeletesRemovedRecordFromDatabase
✅ ProcessChangesForEntityType_SameRecordMultipleTimesInBatch_WritesMostRecentUpdate(contactExistsPreSync: False)
✅ ProcessChangesForEntityType_SameRecordMultipleTimesInBatch_WritesMostRecentUpdate(contactExistsPreSync: True)
✅ ProcessChangesForEntityType_WritesNewRecordToDatabase
✅ ProcessChangesForEntityType_WritesUpdatedRecordToDatabase

Annotations

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateMandatoryQualificationTests ► QueryExecutesSuccessfully

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.CreateMandatoryQualificationTests.QueryExecutesSuccessfully() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/CreateMandatoryQualificationTests.cs:line 22

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationByIdTests ► WhenCalled_WithQualificationIdForExistingQualification_ReturnsQualification

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationByIdTests.WhenCalled_WithQualificationIdForExistingQualification_ReturnsQualification() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/GetQualificationByIdTests.cs:line 35

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationsByContactIdTests ► WhenCalled_ForContactWithQualifications_ReturnsQualificationsAsExpected

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.GetQualificationsByContactIdTests.WhenCalled_ForContactWithQualifications_ReturnsQualificationsAsExpected() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/GetQualificationsByContactIdTests.cs:line 35

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationEstablishmentTests ► QueryExecutesSuccessfully

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationEstablishmentTests.QueryExecutesSuccessfully() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/UpdateMandatoryQualificationEstablishmentTests.cs:line 25

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationSpecialismTests ► QueryExecutesSuccessfully

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationSpecialismTests.QueryExecutesSuccessfully() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/UpdateMandatoryQualificationSpecialismTests.cs:line 25

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStartDateTests ► QueryExecutesSuccessfully

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStartDateTests.QueryExecutesSuccessfully() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/UpdateMandatoryQualificationStartDateTests.cs:line 25

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStatusTests ► QueryExecutesSuccessfully(originalMqStatus: Failed, originalEndDateString: null, newMqStatus: Passed, newEndDateString: "2021-10-05")

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStatusTests.QueryExecutesSuccessfully(Nullable`1 originalMqStatus, String originalEndDateString, MandatoryQualificationStatus newMqStatus, String newEndDateString) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/UpdateMandatoryQualificationStatusTests.cs:line 31

Check failure on line 9 in TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / DQT integration test results

TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStatusTests ► QueryExecutesSuccessfully(originalMqStatus: Passed, originalEndDateString: "2021-10-05", newMqStatus: Failed, newEndDateString: null)

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/TestResults/_fv-az736-601_2024-01-08_17_49_51.trx
Error:
  System.InvalidOperationException : Sequence contains more than one matching element
Raw output
System.InvalidOperationException : Sequence contains more than one matching element
   at System.Linq.ThrowHelper.ThrowMoreThanOneMatchException()
   at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Func`2 predicate, Boolean& found)
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at TeachingRecordSystem.Core.EnumerableExtensions.Single[T](IEnumerable`1 source, Func`2 predicate, String failedErrorMessage) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/EnumerableExtensions.cs:line 9
   at TeachingRecordSystem.Core.Dqt.ReferenceDataCache.GetTeacherStatusByValue(String value) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/ReferenceDataCache.cs:line 48
   at TeachingRecordSystem.TestCommon.TestData.CreatePersonBuilder.Execute(TestData testData) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.TestCommon/TestData.CreatePerson.cs:line 237
   at TeachingRecordSystem.Core.Dqt.CrmIntegrationTests.QueryTests.UpdateMandatoryQualificationStatusTests.QueryExecutesSuccessfully(Nullable`1 originalMqStatus, String originalEndDateString, MandatoryQualificationStatus newMqStatus, String newEndDateString) in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.CrmIntegrationTests/QueryTests/UpdateMandatoryQualificationStatusTests.cs:line 31