mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-19 08:49:58 +00:00
getConnectionDetails() takes Connection rather than uri
This commit is contained in:
parent
18d42d7ae8
commit
6b92277180
4 changed files with 12 additions and 8 deletions
|
@ -90,7 +90,7 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
|
|||
System.out.println(result);
|
||||
final QueryConnectionsResult laterResult = queryMoreConnections(result.context, true);
|
||||
for (final Connection connection : result.connections)
|
||||
provider.getConnectionDetails(connection.link);
|
||||
provider.getConnectionDetails(connection);
|
||||
System.out.println(laterResult);
|
||||
final QueryConnectionsResult later2Result = queryMoreConnections(laterResult.context, true);
|
||||
System.out.println(later2Result);
|
||||
|
@ -109,7 +109,7 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
|
|||
System.out.println(result);
|
||||
final QueryConnectionsResult laterResult = queryMoreConnections(result.context, true);
|
||||
for (final Connection connection : result.connections)
|
||||
provider.getConnectionDetails(connection.link);
|
||||
provider.getConnectionDetails(connection);
|
||||
System.out.println(laterResult);
|
||||
}
|
||||
|
||||
|
@ -123,7 +123,7 @@ public class BahnProviderLiveTest extends AbstractProviderLiveTest
|
|||
|
||||
final QueryConnectionsResult laterResult = queryMoreConnections(result.context, true);
|
||||
for (final Connection connection : result.connections)
|
||||
provider.getConnectionDetails(connection.link);
|
||||
provider.getConnectionDetails(connection);
|
||||
System.out.println(laterResult);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue