From 4734b4c74e203928c599828d9a4fff6dbd57c38c Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Wed, 16 Apr 2014 13:18:53 +0100 Subject: 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. --- t/app/controller/report_new.t | 1 + 1 file changed, 1 insertion(+) (limited to 't/app') 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}); } -- cgit v1.2.3