mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 00:39:58 +00:00
fixed exception when autocompleted station has no coordinate
This commit is contained in:
parent
4c315fcaf7
commit
dee454c1e3
2 changed files with 25 additions and 7 deletions
|
@ -81,6 +81,14 @@ public class ShProviderLiveTest extends AbstractProviderLiveTest
|
|||
print(autocompletes);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void autocompleteWithoutCoordinatesInResult() throws Exception
|
||||
{
|
||||
final List<Location> autocompletes = provider.autocompleteStations("aachen");
|
||||
|
||||
print(autocompletes);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void shortConnection() throws Exception
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue