Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | ajax endpoint to return closest address. | Struan Donald | 2018-05-09 | -3/+13 |
| | | | | | | | | /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. | |||
* | Make sure gettext domain specified in all tests. | Matthew Somerville | 2017-08-25 | -3/+0 |
| | ||||
* | Run each test file in a transaction. | Matthew Somerville | 2017-06-20 | -1/+0 |
| | | | | This means that the tests can be run in parallel. | |||
* | Auto-add strict/warnings/Test::More with TestMech. | Matthew Somerville | 2017-05-31 | -4/+0 |
| | ||||
* | [UK] Stop nearest request with scientific notation | Matthew Somerville | 2017-05-18 | -16/+15 |
| | | | | | | If the longitude was very close to 0, it was being sent as e.g. 1e-6 in the request to MapIt. Mock out the Bing query so that this can be tested (the closest.t tests were previously always being skipped). | |||
* | Tidy up find_closest* functions. | Matthew Somerville | 2017-05-02 | -3/+3 |
| | | | | | Allow find_closest to be called multiple times with only one lookup, and to return just its data, not a compiled string. | |||
* | Reduce use of FixMyStreet::App. | Matthew Somerville | 2015-12-02 | -3/+3 |
| | | | | Command line scripts don't need a full blown app, just database. | |||
* | Improve tests running together a bit. | Matthew Somerville | 2013-02-04 | -0/+4 |
| | ||||
* | Update tests for new names of things and bodies needing to exist. | Matthew Somerville | 2012-12-15 | -1/+1 |
| | ||||
* | Switch to using mapit as it has nearest postcode functionality now. And ↵ | Matthew Somerville | 2012-08-28 | -1/+1 |
| | | | | isn't down. | |||
* | Skip closest tests if no Bing Maps key. | Matthew Somerville | 2012-08-06 | -10/+16 |
| | ||||
* | Remove remaining UK specific code from Default cobrand. Fixes #186. | Matthew Somerville | 2012-07-19 | -1/+1 |
| | ||||
* | also check that cached geocode object looks roughly correct | Struan Donald | 2011-12-05 | -0/+1 |
| | ||||
* | add in some tests for closest address methods | Struan Donald | 2011-12-05 | -0/+77 |