Skip to content

Commit 9ed9728

Browse files
committed
Update tests
1 parent 9eaca95 commit 9ed9728

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

application/src/test/java/org/opentripplanner/routing/api/request/preference/AccessEgressPreferencesTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ void testToString() {
7171
"CAR_HAILING: (timePenalty: 20m + 2.0 t, costFactor: 1.50), " +
7272
"FLEXIBLE: (timePenalty: 10m + 1.30 t, costFactor: 1.30)}, " +
7373
"maxDuration: DurationForStreetMode{default:5m}, " +
74-
"maxStopCount: MaxStopCountLimit{defaultLimit: 245, limitForMode: {CAR=0}}" +
74+
"maxStopCount: MaxStopCountLimit{defaultLimit: 245, limitsForModes: {CAR=0}}" +
7575
"}",
7676
subject.toString()
7777
);

application/src/test/java/org/opentripplanner/routing/api/request/preference/MaxStopCountLimitTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ void testEqualsAndHashCode() {
4545
void testToString() {
4646
assertEquals("StreetPreferences{}", StreetPreferences.DEFAULT.toString());
4747
assertEquals(
48-
"MaxStopCountLimit{" + "defaultLimit: 245, " + "limitForMode: {CAR=0}" + "}",
48+
"MaxStopCountLimit{" + "defaultLimit: 245, " + "limitsForModes: {CAR=0}" + "}",
4949
subject.toString()
5050
);
5151
}

0 commit comments

Comments
 (0)