diff options
author | Struan Donald <struan@exo.org.uk> | 2020-07-06 17:03:48 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2020-07-06 17:03:48 +0100 |
commit | 208935e97fdaa50be69affe176028a8872395c69 (patch) | |
tree | ae3726559f6820702d27b25f55c630650fc0c11c /t/Mock/Tilma.pm | |
parent | ed9c0ebaee7f00d5e4593c75aaab4815ac296ef7 (diff) |
[Hackney] skip hackney categories for TfL red routes
Because Hackney doesn't have any matching categories for TfL red routes
skip sending the body, otherwise you get a "no contact details" message
when you click on a red route in Hackney
Diffstat (limited to 't/Mock/Tilma.pm')
-rw-r--r-- | t/Mock/Tilma.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/Mock/Tilma.pm b/t/Mock/Tilma.pm index 7542b1f5e..b7ef2be2f 100644 --- a/t/Mock/Tilma.pm +++ b/t/Mock/Tilma.pm @@ -28,7 +28,7 @@ sub dispatch_request { sub (GET + /mapserver/tfl + ?*) { my ($self, $args) = @_; my $features = []; - if ($args->{Filter} =~ /540512,169141/) { + if ($args->{Filter} =~ /540512,169141|534371,185488/) { $features = [ { type => "Feature", properties => { HA_ID => "19" }, geometry => { type => "Polygon", coordinates => [ [ [ 539408.94, 170607.58 ], |