aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/fixamingata.t
Commit message (Collapse)AuthorAgeLines
* Fix cobrand restriction of My/Nearby.Matthew Somerville2015-12-15-1/+1
| | | | | | | | | | | | 5c79337 simplified a bit too far, as after then a particular cobrand could in Nearby and My only filter reports to a particular body, not any other criteria. To fix this, introduce more generic functions in the default cobrand to allow more flexibility. Make sure a few tests delete their bodies fully so that new tests pass when run as part of the suite. Fixes #1289.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-6/+6
| | | | Command line scripts don't need a full blown app, just database.
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-1/+1
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Factor out test contact creation to function.Matthew Somerville2015-03-13-7/+2
|
* Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-0/+23
| | | | | | | This includes MapIt postcode lookups, geocoding, query parameters, tile clicks. Stringifying truncates them to six decimal places, which means we no longer need any "short" versions anywhere, and the JSON response will always uses a decimal point regardless of locale.
* By default, use area-based alerts.Matthew Somerville2014-12-12-1/+1
| | | | | | | | | 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 encoding of signature in emails.Matthew Somerville2014-12-10-0/+103
This text was being imported encoded, which led to double-encoding when used in templates. Fixes #960 and #961.