Skip to content

fix via route test - #365

Merged
kiliankoe merged 1 commit into
masterfrom
test/via-route
Oct 19, 2026
Merged

kiliankoe merged 1 commit into
masterfrom
test/via-route

Conversation

@kiliankoe

Copy link
Copy Markdown
Member

The via test claimed to check that every trip passes the via stop, but it searched for the destination stop instead, so it could never fail.

Checking the actual via stop fails reliably against the live WebAPI. The API also accepts a trip through a nearby stop: asked to route via Hauptbahnhof, most trips pass Hauptbahnhof Nord and never stop at Hauptbahnhof. The test now only checks that a via request returns trips, and a comment explains why.

The vvo docs describe via only as a stop ID for an intermediate waypoint. The EFA interface docs list a useProxFootSearch option ("consider nearby stops") that may explain this, but it is not confirmed to apply to via.

@kiliankoe
kiliankoe enabled auto-merge October 19, 2026 12:41
@kiliankoe
kiliankoe merged commit 85077c0 into master Oct 19, 2026
24 checks passed
@kiliankoe
kiliankoe deleted the test/via-route branch October 19, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant