aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/model/problem.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-12-14 19:07:08 +0000
committerMatthew Somerville <matthew@mysociety.org>2012-12-19 14:43:26 +0000
commitddf9dbdbf6486c781ca4a5822614b0b7cee2c062 (patch)
tree09c12affc3390138b03292d3f90810287b4941d0 /t/app/model/problem.t
parentda29e8a75eaa92e98807ad89d29d3d1f3c01bc14 (diff)
Allow bodies to span multiple area IDs, and areas can be covered by more than one body.
Diffstat (limited to 't/app/model/problem.t')
-rw-r--r--t/app/model/problem.t16
1 files changed, 8 insertions, 8 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t
index ec82a3a4e..b2243fcf5 100644
--- a/t/app/model/problem.t
+++ b/t/app/model/problem.t
@@ -357,14 +357,14 @@ my %contact_params = (
);
for my $body (
- { id => 2651, area_id => 2651, name => 'City of Edinburgh Council' },
- { id => 2226, area_id => 2226, name => 'Gloucestershire County Council' },
- { id => 2326, area_id => 2326, name => 'Cheltenham Borough Council' },
- { id => 2434, area_id => 2434, name => 'Lichfield District Council' },
- { id => 2240, area_id => 2240, name => 'Staffordshire County Council' },
- { id => 14279, area_id => 14279, name => 'Ballymoney Borough Council' },
- { id => 2636, area_id => 2636, name => 'Isle of Wight Council' },
- { id => 2649, area_id => 2649, name => 'Fife Council' },
+ { id => 2651, name => 'City of Edinburgh Council' },
+ { id => 2226, name => 'Gloucestershire County Council' },
+ { id => 2326, name => 'Cheltenham Borough Council' },
+ { id => 2434, name => 'Lichfield District Council' },
+ { id => 2240, name => 'Staffordshire County Council' },
+ { id => 14279, name => 'Ballymoney Borough Council' },
+ { id => 2636, name => 'Isle of Wight Council' },
+ { id => 2649, name => 'Fife Council' },
) {
$mech->create_body_ok($body->{id}, $body->{name});
}