From e4de6e4092c5e236d591aba951984acfd57873ac Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Tue, 31 Oct 2023 15:05:27 +0100 Subject: [PATCH] Use correct method for short name --- .../java/org/opentripplanner/smoketest/AtlantaSmokeTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/opentripplanner/smoketest/AtlantaSmokeTest.java b/src/test/java/org/opentripplanner/smoketest/AtlantaSmokeTest.java index fd6ff192f75..48da9124419 100644 --- a/src/test/java/org/opentripplanner/smoketest/AtlantaSmokeTest.java +++ b/src/test/java/org/opentripplanner/smoketest/AtlantaSmokeTest.java @@ -61,7 +61,7 @@ public void flexRouteFromCentralAtlantaToPowderSprings() { var usesZone1Route = transitLegs .stream() - .map(l -> l.route().shortName()) + .map(l -> l.route().name()) .anyMatch(name -> name.equals("Zone 1")); assertTrue(usesZone1Route);