fixed test regarding certificate by ID (instead of sail number)

Change-Id: Ifc28bdab84d913715f252d91696548fb3ab040c0
This commit is contained in:
Axel Uhl
2019-10-13 19:48:48 +02:00
parent 3ac95c3404
commit 119858e91d
@@ -83,7 +83,7 @@ public class TestStoringAndLoadingRegattaORCCertificateAssignmentEvent extends A
@Test
public void test() throws JsonDeserializationException, ParseException {
RaceLogORCCertificateAssignmentEvent expectedEvent = new RaceLogORCCertificateAssignmentEventImpl(MillisecondsTimePoint.now(), expectedEventTime, author,
expectedId, expectedPassId, importer.getCertificateById("GER 5549"), competitor);
expectedId, expectedPassId, importer.getCertificateById("GER140772GER5549"), competitor);
Document dbObject = mongoFactory.storeRaceLogEntry(logIdentifier, expectedEvent);
RaceLogORCCertificateAssignmentEvent actualEvent = loadEvent(dbObject);