Skip to content

Add tag helper to render empty content as a hyphen #1065

Add tag helper to render empty content as a hyphen

Add tag helper to render empty content as a hyphen #1065

GitHub Actions / DQT test results failed Sep 29, 2023 in 0s

DQT test results ❌

Tests failed

❌ TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.Tests/TestResults/_fv-az621-501_2023-09-29_09_52_03.trx

404 tests were completed in 1017s with 402 passed, 1 failed and 1 skipped.

Test suite Passed Failed Skipped Time
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.ClearTeacherIdentityInfoTests 2✅ 25s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.CreateTeacherTests 95✅ 1⚪ 278s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.FindTeachersTests 4✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetCountryTests 2✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetEarlyYearsStatusTests 2✅ 1s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetEytsAwardeesForDateRangeTests 2✅ 125s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetHeQualificationByCodeTests 2✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetHeSubjectByCodeTests 2✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetInductionByTeacherTests 3✅ 73s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetInductionCompleteesForDateRangeTests 1✅ 119s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetInitialTeacherTrainingByTeacherTests 3✅ 86s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetInternationalQtsAwardeesForDateRangeTests 1✅ 126s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetIttProvidersTests 1✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetIttSubjectByCodeTests 2✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetMatchingTeachersTests 11✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetOrganizationsByUkprnTests 2✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetQtsAwardeesForDateRangeTests 2✅ 56s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetQualificationByIdTests 2✅ 75s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetQualificationsForTeacherTests 8✅ 159s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetSubjectByTitleTests 2✅ 2s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetTeacherByHusIdTests 2✅ 55s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetTeachersByInitialTeacherTrainingSlugIdTests 2✅ 72s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetTeachersByTrnAndDobTests 2✅ 71s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetTeacherStatusTests 2✅ 3s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.GetTeacherTests 4✅ 100s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.SetIttOutcomeForTeacherTests 35✅ 461s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.SetNpqQualificationTests 41✅ 529s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.SetTsPersonIdTests 1✅ 15s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.UnlockTeacherRecordTests 3✅ 60s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.UpdateTeacherIdentityInfoTests 1✅ 43s
TeachingRecordSystem.Core.Dqt.Tests.DataverseAdapterTests.UpdateTeacherTests 116✅ 802s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.ApproveIncidentTests 1✅ 32s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.CancelIncidentTests 1✅ 38s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.CreateDateOfBirthChangeIncidentTests 1✅ 44s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.CreateNameChangeIncidentTests 1✅ 29s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetActiveIncidentsTests 1✅ 35s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetAllSanctionCodesTests 1✅ 3s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetAllSubjectsTests 1✅ 1s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetAllTeacherStatusesTests 1✅ 1s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetContactByTrnTests 2✅ 25s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetContactDetailByIdTests 2✅ 32s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetContactsByDateOfBirthTests 6✅ 369s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetContactsByLastNameAndDateOfBirthTests 1✅ 58s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetContactsByNameTests 6✅ 8s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetDocumentByIdTests 2✅ 29s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetIncidentByTicketNumberTests 3✅ 62s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetSanctionDetailsByContactIdTests 1✅ 1❌ 65s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetSanctionsByContactIdsTests 9✅ 166s
TeachingRecordSystem.Core.Dqt.Tests.QueryTests.RejectIncidentTests 1✅ 48s
TeachingRecordSystem.Core.Dqt.Tests.Services.DqtReporting.DqtReportingServiceTests 3✅ 14s

❌ TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetSanctionDetailsByContactIdTests

✅ WhenCalled_ForContactWithoutSanctions_ReturnsEmptyArray
❌ WhenCalled_ForContactWithSanctions_ReturnsSanctionsAsExpected
	Assert.Collection() Failure: Item comparison failure
	             ↓ (pos 0)
	Collection: [SanctionDetailResult { Sanction = TeachingRecordSystem.Core.Dqt.Models.dfeta_sanction, Description = Test Alert }, SanctionDetailResult { Sanction = TeachingRecordSystem.Core.Dqt.Models.dfeta_sanction, Description = a possible matching record was found. Please contact the DBS before employing this person }]
	Error:      Assert.Equal() Failure: Strings differ
	                       ↓ (pos 0)
	            Expected: "a possible matching record was found. Ple"···
	            Actual:   "Test Alert"
	                       ↑ (pos 0)

Annotations

Check failure on line 46 in TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.Tests/QueryTests/GetSanctionDetailsByContactIdTests.cs

See this annotation in the file changed.

@github-actions github-actions / DQT test results

TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetSanctionDetailsByContactIdTests ► WhenCalled_ForContactWithSanctions_ReturnsSanctionsAsExpected

Failed test found in:
  TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.Tests/TestResults/_fv-az621-501_2023-09-29_09_52_03.trx
Error:
  Assert.Collection() Failure: Item comparison failure
               ↓ (pos 0)
  Collection: [SanctionDetailResult { Sanction = TeachingRecordSystem.Core.Dqt.Models.dfeta_sanction, Description = Test Alert }, SanctionDetailResult { Sanction = TeachingRecordSystem.Core.Dqt.Models.dfeta_sanction, Description = a possible matching record was found. Please contact the DBS before employing this person }]
  Error:      Assert.Equal() Failure: Strings differ
                         ↓ (pos 0)
              Expected: "a possible matching record was found. Ple"···
              Actual:   "Test Alert"
                         ↑ (pos 0)
Raw output
Assert.Collection() Failure: Item comparison failure
             ↓ (pos 0)
Collection: [SanctionDetailResult { Sanction = TeachingRecordSystem.Core.Dqt.Models.dfeta_sanction, Description = Test Alert }, SanctionDetailResult { Sanction = TeachingRecordSystem.Core.Dqt.Models.dfeta_sanction, Description = a possible matching record was found. Please contact the DBS before employing this person }]
Error:      Assert.Equal() Failure: Strings differ
                       ↓ (pos 0)
            Expected: "a possible matching record was found. Ple"···
            Actual:   "Test Alert"
                       ↑ (pos 0)
   at TeachingRecordSystem.Core.Dqt.Tests.QueryTests.GetSanctionDetailsByContactIdTests.WhenCalled_ForContactWithSanctions_ReturnsSanctionsAsExpected() in /home/runner/work/teaching-record-system/teaching-record-system/TeachingRecordSystem/tests/TeachingRecordSystem.Core.Dqt.Tests/QueryTests/GetSanctionDetailsByContactIdTests.cs:line 46