aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311/populate-service-list.t
Commit message (Collapse)AuthorAgeLines
* Tidy up Open311 XML handling.Matthew Somerville2016-06-15-12/+1
| | | | | Parse the XML in such a way other parts of the code do not have to worry about single-value folding or the like.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-23/+23
| | | | Command line scripts don't need a full blown app, just database.
* Remove ms_current_timestamp() override function.Matthew Somerville2015-08-13-9/+9
| | | | | This override is not used anywhere, it dates from a very old long-gone test script, and causes issues with database query planning.
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-10/+11
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-4/+0
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Open311: FMS <-> Open311 Endpoint End to end testsHakim Cassimally2014-10-16-1/+3
| | | | | Uses LWP::Protocol::PSGI to avoid having to spawn external processes in order to test these end to end.
* Update old-style open311 script to use bodies.Matthew Somerville2014-04-07-10/+10
| | | | Add some comments to the top of the open311 bin scripts.
* Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-0/+5
| | | | than one body.
* Update tests for new names of things and bodies needing to exist.Matthew Somerville2012-12-15-49/+20
|
* Rename area_id on Contacts table to body_id.Matthew Somerville2012-12-15-20/+20
| | | | Add foreign key constraint from contacts to body.
* Rename 'open311conf' database table to 'body'.Matthew Somerville2012-12-15-9/+9
|
* do not fall over if there is unexpectedly no meta data for a service codeStruan Donald2012-11-23-0/+13
|
* handle updates to meta data as well as meta data when a contact is createdStruan Donald2012-10-18-0/+165
|
* use correct method nameStruan Donald2012-04-27-4/+4
|
* more populate tests and also cope with bromley non display fieldsStruan Donald2012-03-22-0/+298
|
* if we have two conflicting existing contacts then skip the updateStruan Donald2011-10-11-4/+63
|
* reduce duplicate codeStruan Donald2011-10-11-135/+38
|
* test existing contacts are deletedStruan Donald2011-10-11-1/+71
| | | | udpate service code for contact with same category
* handle change of service name for existing service codeStruan Donald2011-10-11-0/+75
|
* rewrite populate service list to enable testing and add some testsStruan Donald2011-10-10-0/+148