summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-07-02 18:38:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-07-02 18:38:32 +0200
commit242a6d2c472f0ff747db7665294fac19eaa2408e (patch)
tree8d110c5ac87aca67295b6544293c068d1c27ee81 /t
parent4aee2fb6dc0755371eaa23459e514ac76f6a9576 (diff)
parentf09d59986998f2210314e38a1ad72d77fcfac067 (diff)
Merge branch 'master' of git.finalrewind.org:var/git_root/Travel-Status-DE-IRIS
Diffstat (limited to 't')
-rw-r--r--t/20-iris-class.t4
-rw-r--r--t/31-result-basics.t6
2 files changed, 5 insertions, 5 deletions
diff --git a/t/20-iris-class.t b/t/20-iris-class.t
index 8ec50ef..a861909 100644
--- a/t/20-iris-class.t
+++ b/t/20-iris-class.t
@@ -4,7 +4,7 @@ use warnings;
use 5.014;
use DateTime;
-use Test::More tests => 274;
+use Test::More tests => 266;
BEGIN {
use_ok('Travel::Status::DE::IRIS');
@@ -22,7 +22,7 @@ my $status = Travel::Status::DE::IRIS->new(
minute => 1,
time_zone => 'Europe/Berlin',
),
- lookahead => 3 * 60 + 59,
+ lookahead => 3 * 60,
);
isa_ok( $status, 'Travel::Status::DE::IRIS' );
diff --git a/t/31-result-basics.t b/t/31-result-basics.t
index ac2b23d..d313d4f 100644
--- a/t/31-result-basics.t
+++ b/t/31-result-basics.t
@@ -5,7 +5,7 @@ use 5.014;
use utf8;
use DateTime;
-use Test::More tests => 436;
+use Test::More tests => 424;
use Test::Fatal;
use Travel::Status::DE::IRIS;
@@ -21,12 +21,12 @@ my $status = Travel::Status::DE::IRIS->new(
minute => 1,
time_zone => 'Europe/Berlin'
),
- lookahead => 3 * 60 + 59,
+ lookahead => 3 * 60,
);
my @results = $status->results;
-is(@results, 135, 'got 135 results');
+is(@results, 131, 'got 131 results');
my $ice645 = $results[0];
my $s1 = $results[1];