# fixed failing test TestStoringAndRetrievingRaceLogInLeaderboards by using a correct event identifier

This commit is contained in:
Lukas Niemeier committed 2013-09-16 01:39:55 +02:00
1 parent 97e35b3dbb
commit 10ab2badae
4 files changed
+12 -5

No files matched your search

@@ -270,7 +270,7 @@ public class TestStoringAndRetrievingRaceLogInLeaderboards extends RaceLogMongoD
result.put(FieldNames.RACE_LOG_EVENT_CLASS.name(), RaceLogFinishPositioningConfirmedEvent.class.getSimpleName());
DBObject raceLogResult = new BasicDBObject();
raceLogResult.put(FieldNames.RACE_LOG_IDENTIFIER.name(), MongoUtils.escapeDollarAndDot(raceColumn.getRaceLogIdentifier(defaultFleet).getIdentifier().toString()));
raceLogResult.put(FieldNames.RACE_LOG_IDENTIFIER.name(), MongoUtils.escapeDollarAndDot(raceColumn.getRaceLogIdentifier(defaultFleet).getObsoleteIdentifier()));
raceLogResult.put(FieldNames.RACE_LOG_EVENT.name(), result);
MongoObjectFactoryImpl factoryImpl = (MongoObjectFactoryImpl) mongoObjectFactory;