Skip to content

Instantly share code, notes, and snippets.

@pangratz
Created July 8, 2011 23:22
Show Gist options
  • Save pangratz/1073061 to your computer and use it in GitHub Desktop.
Save pangratz/1073061 to your computer and use it in GitHub Desktop.
this is not the same id as shown in Oeffi on Android ...
public class LinzProviderTest extends TestCase {
private LinzProvider provider;
public void testAutocomplete() throws IOException {
List<Location> stations = provider.autocompleteStations("Schumpeter");
assertNotNull(stations);
assertEquals(1, stations.size());
Location schumpeter = stations.get(0);
assertEquals("Schumpeterstraße", schumpeter.name);
assertEquals(491115, schumpeter.id);
}
@Override
protected void setUp() throws Exception {
super.setUp();
provider = new LinzProvider();
}
@Override
protected void tearDown() throws Exception {
super.tearDown();
provider = null;
}
}
@pangratz
Copy link
Author

pangratz commented Jul 8, 2011

instead of expected id 491115 the id 60501120 is returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment