aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock/Nominatim.pm
Commit message (Collapse)AuthorAgeLines
* [Bromley] Deal with partial postcodes in search.Matthew Somerville2018-06-20-1/+1
|
* Ensure Mock::Nominatim JSON is encoded in en-gb localeDave Arter2017-12-05-1/+3
| | | | | This was causing an error in "Test ajax decimal points" in fixamingata.t due to "importance" being encoded with a comma decimal separator.
* Make sure returned geocoder data is UTF-8 decoded.Matthew Somerville2017-11-15-2/+2
| | | | | | It turns out that HTTP::Message (as used by LWP::Simple::get) only decodes text/* and 'XML', not application/json, as used by all the geocoders. Work around this, hopefully in a future-proof way.
* Simplify geocode cache read/writing.Matthew Somerville2017-10-10-0/+5
| | | | Don't think the return data ever needs decoding.
* Switch final few JSON uses to JSON::MaybeXS.Matthew Somerville2016-02-09-1/+1
|
* Move test mocks to their own directory.Matthew Somerville2016-01-27-0/+37