Navitia: Fix location type handling in queryNearbyLocations.

This commit is contained in:
Antonio El Khoury 2015-02-25 23:50:00 +01:00 committed by Andreas Schildbach
parent 026b1fb111
commit 82e367a08b
2 changed files with 22 additions and 5 deletions

View file

@ -89,6 +89,15 @@ public class ParisProviderLiveTest extends AbstractProviderLiveTest
print(result);
}
@Test
public void nearbyStationsAny() throws Exception
{
final NearbyLocationsResult result = queryNearbyLocations(EnumSet.of(LocationType.STATION),
new Location(LocationType.ANY, 48877523, 2378353), 700, 10);
assertEquals(NearbyLocationsResult.Status.OK, result.status);
print(result);
}
@Test
public void nearbyStationsInvalidStation() throws Exception
{