diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-03 10:38:23 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-10-03 10:56:20 +0100 |
commit | 233a0e5acb9af1ec5ae15c8211dc4da930d6b910 (patch) | |
tree | 3d8f4079df56d2e02525d69b874ee10490f22768 /t/Mock/MapIt.pm | |
parent | 52ab1010195bbd92152fb8a2635ca935241c319e (diff) |
[UK] Fix ward pages containing ampersands.
Map ward names on their short names, so any processing
applies equally to URL and names returned by MapIt.
Diffstat (limited to 't/Mock/MapIt.pm')
-rw-r--r-- | t/Mock/MapIt.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index 315b4fe9f..ea00a7ff0 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -113,8 +113,8 @@ sub dispatch_request { my ($self, $area) = @_; if ($area eq '2514') { return $self->output({ - 8794 => {parent_area => 2514, id => 8794, name => "Aston", type => "MTW"}, - 8773 => {parent_area => 2514, id => 8773, name => "Bournville", type => "MTW"}, + 151907 => {parent_area => 2514, id => 151907, name => "Bordesley & Highgate", type => "MTW"}, + 151942 => {parent_area => 2514, id => 151942, name => "Birchfield", type => "MTW"}, }); } if ($area eq '2326') { |