summaryrefslogtreecommitdiff
path: root/t/31-clean-ris.t
diff options
context:
space:
mode:
Diffstat (limited to 't/31-clean-ris.t')
-rw-r--r--t/31-clean-ris.t24
1 files changed, 0 insertions, 24 deletions
diff --git a/t/31-clean-ris.t b/t/31-clean-ris.t
deleted file mode 100644
index 424bba7..0000000
--- a/t/31-clean-ris.t
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/usr/bin/env perl
-use strict;
-use warnings;
-use 5.014;
-use Test::More;
-use Test::Mojo;
-
-use FindBin;
-require "$FindBin::Bin/../index.pl";
-
-my $t = Test::Mojo->new;
-
-# Note: These tests depends on RIS live data. If it fails, it -might- also
-# be because of RIS problems or unanticipated schedule changes.
-# TODO: Support mock XML from hard disk.
-
-$t->get_ok('/Dortmund Universitat?backend=ris')
- ->status_is(200)
- ->content_like(qr{S 1}, 'train name')
- ->content_like(qr{Dortmund Hbf}, 'dest')
- ->content_like(qr{Dortmund-Oespel}, 'via')
- ;
-
-done_testing();