aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/fixmybarangay.t
Commit message (Collapse)AuthorAgeLines
* Fix cobrand restriction of My/Nearby.Matthew Somerville2015-12-15-2/+3
| | | | | | | | | | | | 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.
* Factor out test contact creation to function.Matthew Somerville2015-03-13-16/+4
|
* Add tests for admin message, cobrand email alert.Matthew Somerville2015-01-20-1/+22
|
* By default, use area-based alerts.Matthew Somerville2014-12-12-11/+11
| | | | | | | | | 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 suite to run regardless of config setup.Matthew Somerville2013-10-24-5/+10
|
* Have a central config-override function.Matthew Somerville2013-09-13-1/+5
| | | | You only need to pass in the values you wish to be different.
* Update some tests to work around small changes in some underlying modules.Matthew Somerville2013-05-07-1/+6
|
* tests for hide-a-report (in fixmybarangay cobrand)Dave Whiteland2013-03-13-0/+28
|
* Add a basic FMB test.Matthew Somerville2013-02-04-0/+98