diff --git a/test/de/schildbach/pte/live/VgnProviderLiveTest.java b/test/de/schildbach/pte/live/VgnProviderLiveTest.java index 60451358..86567638 100644 --- a/test/de/schildbach/pte/live/VgnProviderLiveTest.java +++ b/test/de/schildbach/pte/live/VgnProviderLiveTest.java @@ -90,8 +90,9 @@ public class VgnProviderLiveTest @Test public void shortConnection() throws Exception { - final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 0, null, "Hauptwache"), null, - new Location(LocationType.STATION, 0, null, "Südbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, Accessibility.NEUTRAL); + final QueryConnectionsResult result = provider.queryConnections(new Location(LocationType.STATION, 451, "Nürnberg", "Ostring"), null, + new Location(LocationType.STATION, 510, "Nürnberg", "Hauptbahnhof"), new Date(), true, ALL_PRODUCTS, WalkSpeed.NORMAL, + Accessibility.NEUTRAL); System.out.println(result); final QueryConnectionsResult moreResult = provider.queryMoreConnections(result.context); System.out.println(moreResult);