diff options
Diffstat (limited to 't')
-rw-r--r-- | t/02-synopsis.t | 7 | ||||
-rw-r--r-- | t/20-vrr.t (renamed from t/50-www-efa.t) | 6 | ||||
-rw-r--r-- | t/out/ambiguous | 4 | ||||
-rw-r--r-- | t/out/invalid_input | 1 | ||||
-rw-r--r-- | t/out/no_connections | 5 |
5 files changed, 4 insertions, 19 deletions
diff --git a/t/02-synopsis.t b/t/02-synopsis.t index 3b5f0c8..fb2b63f 100644 --- a/t/02-synopsis.t +++ b/t/02-synopsis.t @@ -9,10 +9,5 @@ eval "use Test::Synopsis"; if ($@) { plan skip_all => 'Test::Synopsis required for testing'; } -else { - plan tests => 1; -} -for my $m (qw(lib/WWW/Efa.pm)) { - synopsis_ok($m); -} +all_synopsis_ok(); diff --git a/t/50-www-efa.t b/t/20-vrr.t index 29e4af5..86422c1 100644 --- a/t/50-www-efa.t +++ b/t/20-vrr.t @@ -6,9 +6,9 @@ use 5.010; use Test::More tests => 59; BEGIN { - use_ok('WWW::Efa'); + use_ok('Net::Travel::DE::VRR'); } -require_ok('WWW::Efa'); +require_ok('Net::Travel::DE::VRR'); sub efa_conf { my $ret = { @@ -23,7 +23,7 @@ sub efa_conf { sub efa_new { return new_ok( - 'WWW::Efa' => [%{efa_conf(@_)}] + 'Net::Travel::DE::VRR' => [%{efa_conf(@_)}] ); } diff --git a/t/out/ambiguous b/t/out/ambiguous deleted file mode 100644 index 787b3fd..0000000 --- a/t/out/ambiguous +++ /dev/null @@ -1,4 +0,0 @@ -WWW::Efa error: ambiguous input for name_origin: - Bredeney - Bredeney Friedhof - Bredeneyer Kreuz diff --git a/t/out/invalid_input b/t/out/invalid_input deleted file mode 100644 index 2d22895..0000000 --- a/t/out/invalid_input +++ /dev/null @@ -1 +0,0 @@ -WWW::Efa error: No data returned by efa.vrr.de diff --git a/t/out/no_connections b/t/out/no_connections deleted file mode 100644 index f081ab7..0000000 --- a/t/out/no_connections +++ /dev/null @@ -1,5 +0,0 @@ -WWW::Efa error from efa.vrr.de: -
-Leider konnte für Ihre Anfrage keine Verbindung gefunden werden! Bitte ändern Sie Ihre Eingabe (z.B. FuÃwegezeit in den Mobilitätseinstellungen) oder starten Sie eine neue Anfrage!
-
- |