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);