aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/reports.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2018-04-26 13:05:29 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2018-04-26 13:05:29 +0100
commit3806b6b39ace2d38c264615eb95370a303ede34c (patch)
tree4da84289e6053c1e7059d67f71a0ba1511c16637 /t/app/controller/reports.t
parent56dca800a946f8cef66e9839590c5a9f37cad12f (diff)
parent41a5f14388e92fa9dbbb5dc3a72d9ad83291eeb4 (diff)
Merge branch 'collideoscope-anew'
Diffstat (limited to 't/app/controller/reports.t')
-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();