diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-14 17:45:42 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-15 00:11:06 +0000 |
commit | da29e8a75eaa92e98807ad89d29d3d1f3c01bc14 (patch) | |
tree | aed044b4e4fa1fb0cf7d0e3274d8e15973089bd2 /t/app | |
parent | ac71de34b015176b44d35c83cf5e4a838ed75723 (diff) |
Migrate Reports.pm to use bodies, not areas.
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/reports.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/app/controller/reports.t b/t/app/controller/reports.t index 74e4e3d71..503950d8a 100644 --- a/t/app/controller/reports.t +++ b/t/app/controller/reports.t @@ -8,6 +8,10 @@ use DateTime; ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' ); +$mech->create_body_ok(2514, 'Birmingham City Council'); +$mech->create_body_ok(2651, 'City of Edinburgh Council'); +$mech->create_body_ok(2504, 'Westminster City Council'); + $mech->delete_problems_for_body( 2504 ); $mech->delete_problems_for_body( 2651 ); @@ -63,6 +67,7 @@ SKIP: { skip( "Need 'fiksgatami' in ALLOWED_COBRANDS config", 8 ) unless FixMyStreet::Cobrand->exists('fiksgatami'); + $mech->create_body_ok(3, 'Oslo'); mySociety::MaPit::configure('http://mapit.nuug.no/'); ok $mech->host("fiksgatami.no"), 'change host to fiksgatami'; $mech->get_ok('/reports'); |