From d49add5260449cfd031e3e78c3917bfc54b7b58d Mon Sep 17 00:00:00 2001 From: Simon Schulze Date: Sun, 29 Oct 2023 02:00:26 +0100 Subject: [PATCH] Fix failing test --- .../Calculation/TeamSessionCalculationServiceTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs b/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs index f402ed8b..1ba2e91b 100644 --- a/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs +++ b/test/iRLeagueApiCore.Services.Tests/ResultService/Calculation/TeamSessionCalculationServiceTests.cs @@ -175,7 +175,7 @@ public async Task Calculate_ShouldApplyTeamPenalties(PenaltyType penaltyType) var config = GetCalculationConfiguration(data.LeagueId, data.SessionId); config.MaxResultsPerGroup = groupRowCount; config.PointRule = CalculationMockHelper.MockPointRule( - sortFinal: x => x.OrderBy(x => x.TeamId).ToList()); + sortForPoints: x => x.OrderBy(x => x.TeamId).ToList()); var testTeamId = teamIds.OrderBy(x => x).First(); var testTeamRows = data.ResultRows.Where(x => x.TeamId == testTeamId).ToList();