diff options
| author | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-08 08:29:34 +0200 |
|---|---|---|
| committer | Birte Kristina Friesel <derf@finalrewind.org> | 2025-06-08 08:29:34 +0200 |
| commit | 21174bc9e0367018f28c0b5fc98d0e0fca317160 (patch) | |
| tree | 7eae01acd4541162b117225bf7bda6d759380acf /t | |
| parent | d97790563dc97c130433cd12479cb2698c6f0201 (diff) | |
place_candidates, name_candidates: return Stop objects
Fixes https://github.com/derf/db-fakedisplay/issues/38 once adopted there
Diffstat (limited to 't')
| -rw-r--r-- | t/21-vrr-ambig.t | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/t/21-vrr-ambig.t b/t/21-vrr-ambig.t index a201d52..de03b30 100644 --- a/t/21-vrr-ambig.t +++ b/t/21-vrr-ambig.t @@ -27,11 +27,11 @@ is( $status->errstr, 'ambiguous name parameter', 'errstr ok' ); is_deeply( [ $status->place_candidates ], [], 'place candidates ok' ); is_deeply( - [ $status->name_candidates ], + [ map { $_->id_num . ' ' . $_->full_name } $status->name_candidates ], [ - 'Essen, Alfred-Krupp-Schule', - 'Essen, Alfredbrücke', - 'Essen, Alfredusbad' + '20009114 Essen, Alfred-Krupp-Schule', + '20009113 Essen, Alfredbrücke', + '20009115 Essen, Alfredusbad', ], 'name candidates ok' ); |
