Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
SSchulze1989 committed Oct 29, 2023
1 parent decd761 commit d49add5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d49add5

Please sign in to comment.