diff options
author | Dave Arter <davea@mysociety.org> | 2019-10-17 19:22:33 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2019-12-09 12:48:12 +0000 |
commit | c711bedccb53bd06562f7407f3b9c342d3baf054 (patch) | |
tree | 870893bfa568b5cfad8c680fc11a5b90122b2cb9 /t/Mock/MapIt.pm | |
parent | c78c63f25cc53332b182296163e9560849b1dd4a (diff) |
[TfL] Use London Boroughs for inspector areas and wards on /reports
Drops ‘Borough Council’ suffix from area names
Diffstat (limited to 't/Mock/MapIt.pm')
-rw-r--r-- | t/Mock/MapIt.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index 3b36b52f4..96be429e4 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -119,6 +119,11 @@ sub dispatch_request { $self->output({2650 => {parent_area => undef, id => 2650, name => "Aberdeen Council", type => "UTA"}}); } elsif ($areas eq 'GRE') { $self->output({2493 => {parent_area => undef, id => 2493, name => "Greenwich Borough Council", type => "LBO"}}); + } elsif ($areas eq 'LBO') { + $self->output({ + 2482 => {parent_area => undef, id => 2482, name => "Bromley Borough Council", type => "LBO"}, + 2483 => {parent_area => undef, id => 2483, name => "Hounslow Borough Council", type => "LBO"}, + }); } elsif ($areas eq 60705) { $self->output({60705 => {parent_area => 2245, id => 60705, name => "Trowbridge", type => "CPC"}}); } |