mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-20 01:10:02 +00:00
GVH: Fix suggest locations coverage.
This commit is contained in:
parent
c70529e4d9
commit
6a195c9b1d
2 changed files with 8 additions and 0 deletions
|
@ -94,6 +94,13 @@ public class GvhProviderLiveTest extends AbstractProviderLiveTest {
|
|||
print(result);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void suggestLocationsCoverage() throws Exception {
|
||||
final SuggestLocationsResult result = suggestLocations("Sarstedt");
|
||||
print(result);
|
||||
assertThat(result.getLocations(), hasItem(new Location(LocationType.STATION, "25001731")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void incompleteTrip() throws Exception {
|
||||
final QueryTripsResult result = queryTrips(new Location(LocationType.ANY, null, null, "hann"), null,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue