aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2020-04-16 19:48:07 +0100
committerMatthew Somerville <matthew@mysociety.org>2020-04-17 10:25:42 +0100
commit524b44db045789941e0248f599c409d968a759e7 (patch)
tree1f8c961bb7ec419644f26c18519bbffb7b5cd33f /t/cobrand
parent470a7825dfe2ad0adede647475186351d9e07cf7 (diff)
[Bromley] Fix heatmap category filter.
As it has switched to using category groups, the special subcategory code needs updating to update the correct variable.
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/bromley.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cobrand/bromley.t b/t/cobrand/bromley.t
index 02ec8750e..71180cd3e 100644
--- a/t/cobrand/bromley.t
+++ b/t/cobrand/bromley.t
@@ -233,7 +233,7 @@ subtest 'check heatmap page' => sub {
FixMyStreet::override_config {
ALLOWED_COBRANDS => 'bromley',
MAPIT_URL => 'http://mapit.uk/',
- COBRAND_FEATURES => { heatmap => { bromley => 1 } },
+ COBRAND_FEATURES => { category_groups => { bromley => 1 }, heatmap => { bromley => 1 } },
}, sub {
$mech->log_in_ok($user->email);
$mech->get_ok('/dashboard/heatmap?end_date=2018-12-31');