aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-04-16 14:41:31 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-04-23 15:00:26 +0100
commitce4d1c9214d211dc33444c900e759cd1cb4377b2 (patch)
tree55fbdb13413ed38f0143cd1b22039d745ea412e3 /t/app/controller
parent797d47897505837d1b77c28221c87586cefc12f1 (diff)
Add a cobrand hook to table dashboard generation.
This allows a cobrand to categorise the reports however it wishes.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/reports.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/app/controller/reports.t b/t/app/controller/reports.t
index 76c920562..8cdfddd1b 100644
--- a/t/app/controller/reports.t
+++ b/t/app/controller/reports.t
@@ -95,6 +95,9 @@ $fife_problems[10]->update( {
state => 'hidden',
});
+# Run the cron script old-data (for the table no longer used by default)
+FixMyStreet::Script::UpdateAllReports::generate(1);
+
# Run the cron script that makes the data for /reports so we don't get an error.
my $data = FixMyStreet::Script::UpdateAllReports::generate_dashboard();