From a81496648676a2b76295c2e65d20091a67a8ca89 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 1 Aug 2015 14:05:36 +0200 Subject: Fix RIS test --- t/31-clean-ris.t | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 't') 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') -- cgit v1.2.3