bug fix after merge, test of mongo escaping for raceLogIdentifier

This commit is contained in:
Armin Zamani
2013-02-27 12:50:38 +01:00
parent 1cf98ae228
commit 05fb3a9549
2 changed files with 2 additions and 2 deletions
@@ -212,7 +212,7 @@ public class TestStoringAndRetrievingLeaderboards extends AbstractMongoDBTest {
final double correctedPoints = 2.75;
final int[] discardIndexResultsStartingWithHowManyRaces = new int[] { 5, 8 };
FlexibleLeaderboardImpl leaderboard = new FlexibleLeaderboardImpl(leaderboardName, new ScoreCorrectionImpl(),
new ResultDiscardingRuleImpl(discardIndexResultsStartingWithHowManyRaces), new LowPoint());
new ResultDiscardingRuleImpl(discardIndexResultsStartingWithHowManyRaces), new LowPoint(), null);
Competitor competitor = createCompetitor();
TrackedRace raceWithOneCompetitor1 = new MockedTrackedRaceWithFixedRank(competitor, /* rank */ 1, /* started */ true);
TrackedRace raceWithOneCompetitor2 = new MockedTrackedRaceWithFixedRank(competitor, /* rank */ 2, /* started */ true);
@@ -38,7 +38,7 @@ import com.sap.sailing.domain.racelog.RaceLogStore;
public class TestStoringAndRetrievingRaceLogInLeaderboards extends AbstractMongoDBTest {
String raceColumnName = "R1";
String raceColumnName = "My.First$Race$1";
String leaderboardName = "TestLeaderboard";
final int[] discardIndexResultsStartingWithHowManyRaces = new int[] { 5, 8 };
TimePoint now = null;