diff options
author | Matthew Somerville <matthew@mysociety.org> | 2020-02-05 14:26:26 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2020-02-17 13:44:11 +0000 |
commit | d01b3c306f4b65ddfb0151cb890a7e3da96c4b97 (patch) | |
tree | 8ae0f73259afc427a5886ffabe5f98c6d12b81ed /t | |
parent | 2e9b93e1dc9c2e42d99b514e79689971830f7866 (diff) |
[TfL] Include borough name in report lists.
Diffstat (limited to '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", |