Commit a8149664 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Fix RIS test

parent 417a4a55
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -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')