Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
vpaturet committed Jul 16, 2024
1 parent 5bc0b78 commit e58ff95
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package org.opentripplanner.netex.mapping;

import static org.junit.jupiter.api.Assertions.*;

import java.util.List;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.opentripplanner.graph_builder.issue.api.DataImportIssueStore;
import org.opentripplanner.graph_builder.issue.service.DefaultDataImportIssueStore;
Expand All @@ -22,9 +23,9 @@ void testMissingCoordinates() {
);
StopPlace stopPlace = new StopPlace();
stopPlace.setId(NetexTestDataSupport.STOP_PLACE_ID);
Assertions.assertNull(multiModalStationMapper.map(stopPlace, List.of()));
Assertions.assertEquals(1, dataIssueStore.listIssues().size());
Assertions.assertEquals(
assertNull(multiModalStationMapper.map(stopPlace, List.of()));
assertEquals(1, dataIssueStore.listIssues().size());
assertEquals(
"MultiModalStationWithoutCoordinates",
dataIssueStore.listIssues().getFirst().getType()
);
Expand Down

0 comments on commit e58ff95

Please sign in to comment.