diff options
Diffstat (limited to 't/cobrand/tfl.t')
-rw-r--r-- | t/cobrand/tfl.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/cobrand/tfl.t b/t/cobrand/tfl.t index e61c6d1bd..cdf3b1bab 100644 --- a/t/cobrand/tfl.t +++ b/t/cobrand/tfl.t @@ -551,11 +551,13 @@ subtest 'check correct base URL & title in AJAX pins' => sub { }; subtest 'check report age on /around' => sub { + $mech->log_in_ok($staffuser->email); my $report = FixMyStreet::DB->resultset("Problem")->find({ title => 'Test Report 1'}); $report->update({ state => 'confirmed' }); $mech->get_ok( '/around?lat=' . $report->latitude . '&lon=' . $report->longitude ); $mech->content_contains($report->title); + $mech->content_contains('item-list__item__borough">Bromley'); $report->update({ confirmed => \"current_timestamp-'7 weeks'::interval", |