summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-08-01 14:05:36 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-08-01 14:05:36 +0200
commita81496648676a2b76295c2e65d20091a67a8ca89 (patch)
tree9cf6490035ed1d1ad432ddaf9fa4b0efe31a030c
parent417a4a55bf25699804b5e9239c9522a2e28058cf (diff)
Fix RIS test
-rw-r--r--t/31-clean-ris.t9
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')