summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2014-03-02 22:53:23 +0100
committerDaniel Friesel <derf@finalrewind.org>2014-03-02 22:53:23 +0100
commite6e55d5003e7194d97d9f18eced7e17ae4b81ec7 (patch)
tree6ddc2a3a76b4f7ea0a5ce5dd8a2a72a1d563c79e /t
parentbb2ec6920d6ad5aad255f917a4b3fd2c9b588e45 (diff)
Update platform, platform_db accessors for changed EFA API
Diffstat (limited to 't')
-rw-r--r--t/20-vrr.t14
1 files changed, 7 insertions, 7 deletions
diff --git a/t/20-vrr.t b/t/20-vrr.t
index d437992..cc710f2 100644
--- a/t/20-vrr.t
+++ b/t/20-vrr.t
@@ -6,7 +6,7 @@ use utf8;
use Encode qw(decode);
use File::Slurp qw(slurp);
-use Test::More tests => 114;
+use Test::More tests => 108;
BEGIN {
use_ok('Travel::Status::DE::VRR');
@@ -35,8 +35,8 @@ is($results[0]->time, '09:40', 'first result: real time ok');
is($results[0]->delay, 4, 'first result: delay 4');
is($results[0]->sched_date, '16.11.2011', 'first result: scheduled date ok');
is($results[0]->sched_time, '09:36', 'first result: scheduled time ok');
-is($results[0]->platform, '1', 'first result: platform ok');
-is($results[0]->platform_db, 1, 'first result: platform_db ok');
+#is($results[0]->platform, '1', 'first result: platform ok');
+#is($results[0]->platform_db, 1, 'first result: platform_db ok');
is($results[3]->destination, decode('UTF-8', 'Mülheim Heißen Kirche'), 'fourth result: destination ok');
is($results[3]->info, decode('UTF-8', 'Ab (H) Heißen Kirche, Umstieg in den SEV Ri. Mülheim Hbf.'), 'fourth result: no info');
@@ -46,8 +46,8 @@ is($results[3]->time, '09:39', 'fourth result: real time ok');
is($results[3]->delay, 0, 'fourth result: delay 0');
is($results[3]->sched_date, '16.11.2011', 'fourth result: scheduled date ok');
is($results[3]->sched_time, '09:39', 'fourth result: scheduled time ok');
-is($results[3]->platform, '2', 'fourth result: platform ok');
-is($results[3]->platform_db, 0, 'fourth result: platform_db ok');
+#is($results[3]->platform, '2', 'fourth result: platform ok');
+#is($results[3]->platform_db, 0, 'fourth result: platform_db ok');
is($results[-1]->destination, 'Hamm (Westf)', 'last result: destination ok');
is($results[-1]->info, decode('UTF-8', 'Fahrradmitnahme begrenzt möglich'), 'last result: info ok');
@@ -57,5 +57,5 @@ is($results[-1]->date, '16.11.2011', 'last result: date ok');
is($results[-1]->time, '10:05', 'last result: time ok');
is($results[-1]->sched_date, '16.11.2011', 'first result: scheduled date ok');
is($results[-1]->sched_time, '09:53', 'first result: scheduled time ok');
-is($results[-1]->platform, '6', 'last result: platform ok');
-is($results[-1]->platform_db, 1, 'last result: platform ok');
+#is($results[-1]->platform, '6', 'last result: platform ok');
+#is($results[-1]->platform_db, 1, 'last result: platform ok');