Augsburg: Fix some tests.

This commit is contained in:
Andreas Schildbach 2016-01-14 10:48:05 +01:00
parent 13182d2fb7
commit 5704ebc42c

View file

@ -80,11 +80,11 @@ public class AvvProviderLiveTest extends AbstractProviderLiveTest
{ {
final SuggestLocationsResult result1 = suggestLocations("Barfüßerbrücke"); final SuggestLocationsResult result1 = suggestLocations("Barfüßerbrücke");
print(result1); print(result1);
assertThat(result1.getLocations(), hasItem(new Location(LocationType.STATION, "131"))); assertThat(result1.getLocations(), hasItem(new Location(LocationType.STATION, "2000131")));
final SuggestLocationsResult result2 = suggestLocations("Gärtnerstraße"); final SuggestLocationsResult result2 = suggestLocations("Gärtnerstraße");
print(result2); print(result2);
assertThat(result2.getLocations(), hasItem(new Location(LocationType.STATION, "557"))); assertThat(result2.getLocations(), hasItem(new Location(LocationType.STATION, "2000557")));
} }
@Test @Test