aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_new.t
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-04-16 13:18:53 +0100
committerStruan Donald <struan@exo.org.uk>2014-04-16 13:18:53 +0100
commit4734b4c74e203928c599828d9a4fff6dbd57c38c (patch)
tree5e5bba39bf3e622701bb181f63c792d8ebc836cb /t/app/controller/report_new.t
parent174c89abebd5cc946b3bea379d9f6f4665a8a3b2 (diff)
create westminster council so report_new test can run standalone
The test relies on a body for westminster council existing which is crated in an earlier test if you run the whole test suite. However it's not present if you run only this test against an empty database so add it to the list of created bodies.
Diffstat (limited to 't/app/controller/report_new.t')
-rw-r--r--t/app/controller/report_new.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t
index 84258f338..b1b82954f 100644
--- a/t/app/controller/report_new.t
+++ b/t/app/controller/report_new.t
@@ -46,6 +46,7 @@ for my $body (
{ id => 2482, name => 'Bromley Council' },
{ id => 2240, name => 'Staffordshire County Council' },
{ id => 2434, name => 'Lichfield District Council' },
+ { id => 2504, name => 'Westminster City Council' },
) {
$mech->create_body_ok($body->{id}, $body->{name});
}