aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/sendreport/open311.t
Commit message (Collapse)AuthorAgeLines
* [Open311] Use cobrand hook for extra update paramsMatthew Somerville2019-03-08-1/+0
| | | | | The test has to now create a new comment object each time as `get_cobrand_logged` is cached on the object.
* [Oxfordshire] remove open311 hardcodingStruan Donald2018-10-01-3/+0
| | | | | we no longer need some of the hardcoded oxfordshire Open311 overrides so remove them
* Move FixMyStreet::DB to FixMyStreet::DB::Schema.Matthew Somerville2017-08-09-1/+1
| | | | Store a schema object on FixMyStreet::DB instead.
* Add inactive state to categories.Matthew Somerville2017-07-14-2/+1
| | | | | A new 'state' column replaces confirmed and deleted, allowing categories to be unconfirmed, confirmed, deleted or inactive.
* Run each test file in a transaction.Matthew Somerville2017-06-20-7/+5
| | | | This means that the tests can be run in parallel.
* Refactor SendReport::Open311 to use cobrand hooks.Matthew Somerville2017-03-09-0/+267
Avoid doing cobrand-specific logic within SendReport::Open311. The hooks defined are: open311_config: set extra fields open311_pre_send: set endpoints and munge data These are tested in the new t/app/sendreport/open311.t, which does not send any actual reports, but just checks that all the data is munged into the expected format. (tests under t/open311* should already test the actual sending) Remove unused Open311 special cases.