summaryrefslogtreecommitdiff
path: root/t/02-registration.t
diff options
context:
space:
mode:
Diffstat (limited to 't/02-registration.t')
-rw-r--r--t/02-registration.t4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/02-registration.t b/t/02-registration.t
index 0d324b0..2258d9a 100644
--- a/t/02-registration.t
+++ b/t/02-registration.t
@@ -237,6 +237,10 @@ $t->get_ok('/history/2018')->status_is(200)->content_like(qr{62 km})
->content_like(qr{Bei Abfahrt: 00:00 Stunden})
->content_like(qr{Bei Ankunft: 00:00 Stunden});
+$t->get_ok('/history/map')->status_is(200)
+ ->content_like(qr{\[\[51.956[^,]*,7.635[^]]*\],'M.nster\(Westf\)Hbf'\],})
+ ->content_like(qr{\[\[51.504[^,]*,7.102[^]]*\],'Gelsenkirchen Hbf'\]});
+
$csrf_token
= $t->ua->get('/journey/add')->res->dom->at('input[name=csrf_token]')
->attr('value');