From 861f348a252914a6f975f4183c6ea98894eee166 Mon Sep 17 00:00:00 2001 From: Dan Ashton Date: Thu, 12 Dec 2024 10:29:59 +0000 Subject: [PATCH] FAI-1325 - Update mapping test --- .../WhenMappingFromMediatorResponseToGetVacancyResponse.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Vacancies/SFA.DAS.Vacancies.Api.UnitTests/Models/WhenMappingFromMediatorResponseToGetVacancyResponse.cs b/src/Vacancies/SFA.DAS.Vacancies.Api.UnitTests/Models/WhenMappingFromMediatorResponseToGetVacancyResponse.cs index 55997ac70f..3165e39b6c 100644 --- a/src/Vacancies/SFA.DAS.Vacancies.Api.UnitTests/Models/WhenMappingFromMediatorResponseToGetVacancyResponse.cs +++ b/src/Vacancies/SFA.DAS.Vacancies.Api.UnitTests/Models/WhenMappingFromMediatorResponseToGetVacancyResponse.cs @@ -47,6 +47,7 @@ public void Then_The_Fields_Are_Mapped(GetVacancyQueryResult source, int ukprn) .Excluding(c => c.ClosingDate) .Excluding(item => item.Ukprn) .Excluding(item => item.VacancyReference) + .Excluding(item => item.VacancySource) ); actual.FullDescription.Should().Be(source.Vacancy.LongDescription); actual.Qualifications.Should().BeEquivalentTo(source.Vacancy.Qualifications.Select(c=>(GetVacancyQualification)c).ToList());