diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-16 12:44:56 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-16 12:44:56 +0100 |
commit | 08bda4c3a6ef4e55bce01a3fa004021679b141f5 (patch) | |
tree | 8841c7aca6fb831a6780860d999eb1140f28e392 /t/app/controller/reports.t | |
parent | 4d40d4632325a999b66dee1db36841dfeb60bcda (diff) | |
parent | 4a7912b97c75d8934bbab33532f0b6ac1e86e47f (diff) |
Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet into new_statuses
Diffstat (limited to 't/app/controller/reports.t')
-rw-r--r-- | t/app/controller/reports.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/t/app/controller/reports.t b/t/app/controller/reports.t index 6cb12e20f..58803d778 100644 --- a/t/app/controller/reports.t +++ b/t/app/controller/reports.t @@ -6,6 +6,9 @@ use mySociety::MaPit; ok( my $mech = Test::WWW::Mechanize::Catalyst->new, 'Created mech object' ); +# Run the cron script that makes the data for /reports so we don't get an error. +system( "bin/cron-wrapper update-all-reports" ); + # check that we can get the page $mech->get_ok('/reports'); $mech->title_like(qr{Summary reports}); |