aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/around.t
Commit message (Collapse)AuthorAgeLines
* Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-8/+8
|
* Always include MapIt mock handler in all tests.Matthew Somerville2017-03-23-4/+0
|
* Fix broken test due to missing config override.Matthew Somerville2016-05-27-2/+7
|
* Move test mocks to their own directory.Matthew Somerville2016-01-27-2/+2
|
* Mock MapIt postcode call to fix broken tests.Matthew Somerville2015-09-15-3/+7
| | | | SW1A 1AA has moved, who'd have thought.
* Rename map filtering GET param, remove unnecessary querySteven Day2015-06-29-2/+2
|
* Add some tests for the category & status filtering on /ajaxSteven Day2015-06-29-0/+39
|
* By default, use area-based alerts.Matthew Somerville2014-12-12-2/+6
| | | | | | | | | The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly.
* Fix test of postcode that has moved ever so slightly.Matthew Somerville2014-05-30-2/+2
|
* Fix test suite to run regardless of config setup.Matthew Somerville2013-10-24-5/+19
|
* Fix tests.Matthew Somerville2013-02-20-1/+1
|
* Rename council column to bodies_str, and all the related code.Matthew Somerville2012-12-15-1/+1
|
* Remove unused function, add gridref test.Matthew Somerville2012-11-12-0/+5
|
* make around test for non public reports work, and do not display nonStruan Donald2012-09-03-0/+1
| | | | public reports on around page
* tests for non public reports on around pageStruan Donald2012-09-03-0/+25
|
* Have a whole fake mapit (for #182) that works if MAPIT_URL is set accordingly.Matthew Somerville2012-07-13-1/+1
| | | | | | | | | Setting MAPIT_URL to .../fakemapit/ will then return one area, ID 161 and type ZZZ, whatever co-ordinate it is given. This means the default area type is now ZZZ, the UK specific types are moved into the UK cobrands, and the tests updated accordingly to still function (they assume UK-ness a lot, so probably need an ALLOWED_COBRANDS entry of "fixmystreet: 'localhost'" and for your host's domain to show fixmystreet too).
* Fix URI overriding now it's being used.Matthew Somerville2011-07-01-1/+1
|
* Skip non-UK results in Bing geocoder, remove some geocode tests.Matthew Somerville2011-06-29-25/+0
|
* Fix tests.Matthew Somerville2011-06-13-1/+1
|
* Merge branch 'migrate_to_catalyst' of ↵Struan Donald2011-05-24-6/+6
|\ | | | | | | ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst
| * Move lat/lon to templates and use shortened forms.Matthew Somerville2011-05-24-6/+6
| |
* | google maps don't seem to pay as much attention to region hinting as they ↵Struan Donald2011-05-24-5/+8
|/ | | | | once did so make sure we add UK on to the end. also update tests to take into account changed results because of this.
* Moved some of the location smarts from '/report/new' to '/around'Edmund von der Burg2011-04-13-1/+73
|
* Create Around controller and implement the easy bitsEdmund von der Burg2011-04-12-0/+31