diff --git a/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/MemberSessionCalculationServiceTests.cs b/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/MemberSessionCalculationServiceTests.cs index 6ce8eab5..27937498 100644 --- a/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/MemberSessionCalculationServiceTests.cs +++ b/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/MemberSessionCalculationServiceTests.cs @@ -717,7 +717,10 @@ private IPostprocessComposer TestRowBuilder() .Without(x => x.RacePoints) .Without(x => x.BonusPoints) .Without(x => x.PenaltyPoints) - .Without(x => x.AddPenalties); + .Without(x => x.AddPenalties) + .With(x => x.AvgLapTime, fixture.Create().Add(TimeSpan.FromMilliseconds(1))) + .With(x => x.FastestLapTime, fixture.Create().Add(TimeSpan.FromMilliseconds(1))) + .With(x => x.QualifyingTime, fixture.Create().Add(TimeSpan.FromMilliseconds(1))); } private IEnumerable GetTestRows() diff --git a/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs b/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs index 17d9ac98..627c2258 100644 --- a/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs +++ b/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs @@ -292,7 +292,10 @@ private SessionCalculationConfiguration GetCalculationConfiguration(long leagueI private IPostprocessComposer TestRowBuilder() { return fixture.Build() - .Without(x => x.AddPenalties); + .Without(x => x.AddPenalties) + .With(x => x.AvgLapTime, fixture.Create().Add(TimeSpan.FromMilliseconds(1))) + .With(x => x.FastestLapTime, fixture.Create().Add(TimeSpan.FromMilliseconds(1))) + .With(x => x.QualifyingTime, fixture.Create().Add(TimeSpan.FromMilliseconds(1))); } private IPostprocessComposer TeamTestRowBuilder(IEnumerable teamIds)