diff options
-rw-r--r-- | t/31-clean-ris.t | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/t/31-clean-ris.t b/t/31-clean-ris.t index b410707..424bba7 100644 --- a/t/31-clean-ris.t +++ b/t/31-clean-ris.t @@ -14,14 +14,7 @@ my $t = Test::Mojo->new; # be because of RIS problems or unanticipated schedule changes. # TODO: Support mock XML from hard disk. -$t->get_ok('/Dortmund Universitat') - ->status_is(200) - ->content_like(qr{S 1}, 'train name') - ->content_like(qr{Dortmund Hbf}, 'dest') - ->content_like(qr{Dortmund-Oespel}, 'via') - ; - -$t->get_ok('/Dortmund Universitat&backend=ris') +$t->get_ok('/Dortmund Universitat?backend=ris') ->status_is(200) ->content_like(qr{S 1}, 'train name') ->content_like(qr{Dortmund Hbf}, 'dest') |