diff options
author | Struan Donald <struan@exo.org.uk> | 2014-04-16 13:18:53 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2014-04-16 13:18:53 +0100 |
commit | 4734b4c74e203928c599828d9a4fff6dbd57c38c (patch) | |
tree | 5e5bba39bf3e622701bb181f63c792d8ebc836cb | |
parent | 174c89abebd5cc946b3bea379d9f6f4665a8a3b2 (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.
-rw-r--r-- | t/app/controller/report_new.t | 1 |
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}); } |