aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/FixMyStreet.pm2
-rw-r--r--t/app/controller/around.t2
2 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
index 6c826ec01..1b58b7cc8 100644
--- a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
+++ b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
@@ -8,6 +8,8 @@ use mySociety::Random;
use constant COUNCIL_ID_BROMLEY => 2482;
+sub on_map_default_status { return 'open'; }
+
# Special extra
sub path_to_web_templates {
my $self = shift;
diff --git a/t/app/controller/around.t b/t/app/controller/around.t
index dc755a67f..2d67dc6ac 100644
--- a/t/app/controller/around.t
+++ b/t/app/controller/around.t
@@ -257,7 +257,7 @@ subtest 'check show old reports checkbox shown on around page' => sub {
my $problems = FixMyStreet::App->model('DB::Problem')->to_body( $body->id );
$problems->first->update( { confirmed => \"current_timestamp-'7 months'::interval" } );
- $mech->get_ok( '/around?pc=OX20+1SZ' );
+ $mech->get_ok( '/around?pc=OX20+1SZ&status=all' );
$mech->content_lacks('id="show_old_reports_wrapper" class="report-list-filters hidden"');
$mech->content_contains('id="show_old_reports_wrapper" class="report-list-filters"');