diff options
author | Struan Donald <struan@exo.org.uk> | 2017-12-22 12:53:48 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-09 12:57:56 +0100 |
commit | 22f0fed0b1ce6e7effac37e025bd55dc6043a838 (patch) | |
tree | a4bd66224c560418863319e9a6144d9b8702d462 /t/cobrand/rutland.t | |
parent | 22815e994510659870987609d244b3f6324bab22 (diff) |
ajax endpoint to return closest address.
/ajax/closest will return ajax with details of the closest address to
the lat/lon passed in from the Bing geocoder.
Tidy up find_closest() to use overloaded string rather than passing
in whether you want a string or not.
Diffstat (limited to 't/cobrand/rutland.t')
-rw-r--r-- | t/cobrand/rutland.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/cobrand/rutland.t b/t/cobrand/rutland.t index 8943e64fc..4d3c4befd 100644 --- a/t/cobrand/rutland.t +++ b/t/cobrand/rutland.t @@ -41,6 +41,7 @@ subtest 'testing special Open311 behaviour', sub { FixMyStreet::override_config { STAGING_FLAGS => { send_reports => 1 }, ALLOWED_COBRANDS => [ 'fixmystreet', 'rutland' ], + MAPIT_URL => 'http://mapit.uk/', }, sub { $test_data = FixMyStreet::Script::Reports::send(); }; |