Skip to content

Commit 595a443

Browse files
committed
Merge fixes
1 parent 72fbfbd commit 595a443

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

tests/KeeperData.Application.Tests.Unit/Orchestration/Imports/Sam/Mappings/SamHoldingMapperTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ public async Task ToGold_PrefersActiveSamHolding_OverCommonLand()
280280
[activeSamHolding, activeCommonLand],
281281
[],
282282
[],
283+
[],
283284
(_, _) => Task.FromResult<CountryDocument?>(null),
284285
(_, _) => Task.FromResult<SiteTypeDocument?>(null),
285286
(code, _) => Task.FromResult<SiteIdentifierTypeDocument?>(
@@ -332,6 +333,7 @@ public async Task ToGold_PrefersInactiveSamHolding_OverActiveCommonLand()
332333
[inactiveSamHolding, activeCommonLand],
333334
[],
334335
[],
336+
[],
335337
(_, _) => Task.FromResult<CountryDocument?>(null),
336338
(_, _) => Task.FromResult<SiteTypeDocument?>(null),
337339
(code, _) => Task.FromResult<SiteIdentifierTypeDocument?>(
@@ -375,6 +377,7 @@ public async Task ToGold_SelectsCommonLand_WhenOnlyCommonLandPresent()
375377
[activeCommonLand],
376378
[],
377379
[],
380+
[],
378381
(_, _) => Task.FromResult<CountryDocument?>(null),
379382
(_, _) => Task.FromResult<SiteTypeDocument?>(null),
380383
(code, _) => Task.FromResult<SiteIdentifierTypeDocument?>(
@@ -426,6 +429,7 @@ public async Task ToGold_SelectsMostRecentActiveSamHolding_WhenMultipleActiveSam
426429
[olderSamHolding, newerSamHolding],
427430
[],
428431
[],
432+
[],
429433
(_, _) => Task.FromResult<CountryDocument?>(null),
430434
(_, _) => Task.FromResult<SiteTypeDocument?>(null),
431435
(code, _) => Task.FromResult<SiteIdentifierTypeDocument?>(

tests/KeeperData.Application.Tests.Unit/Orchestration/Imports/Sam/Mappings/SamHoldingMapperToGoldTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,8 @@ public async Task WhenMappingShowgroundData_ShouldMapEffectiveDatesCorrectly()
812812
result.EffectiveToDate.Should().Be(rawShowgrounds[0].END_DATE);
813813
result.ApprovalCurrentFlag.Should().BeTrue();
814814
}
815-
815+
816+
[Fact]
816817
public void SelectAddressSource_WhenCommonLandAndSiteHoldingPresent_ShouldReturnCommonLand()
817818
{
818819
var siteHolding = new SamHoldingDocument

0 commit comments

Comments
 (0)