aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Factories.pm
Commit message (Collapse)AuthorAgeLines
* [fixmystreet.com] Fix Unicode in fixtures.Matthew Somerville2019-05-20-0/+1
|
* Factor to common FixMyStreet::MapIt call.Matthew Somerville2019-04-04-2/+2
|
* [fixmystreet.com] More categories in fixture.Matthew Somerville2018-12-08-2/+18
|
* front end category testsStruan Donald2018-10-09-3/+5
| | | | Check selecting a category and selecting a sub category
* Adapt fixture script to be non-random on request.Struan Donald2018-10-02-2/+2
| | | | | The existing fixture script generates random results so is no use for front end testing.
* Make sure fixture clears out cached photo files.Matthew Somerville2018-04-04-0/+2
|
* [Zurich] Add fixture script.Matthew Somerville2018-03-06-0/+133
| | | | Remove old unused setup-contacts code, superceded by fixtures.
* Add some example fixture images.Matthew Somerville2018-01-11-1/+2
|
* [fixmystreet.com] Improve fixture descriptions.Matthew Somerville2017-12-07-1/+1
|
* 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.
* [fixmystreet.com] Template/priorities in fixture.Matthew Somerville2017-06-20-0/+25
| | | | Also include areas in auto-generated problems.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-6/+0
| | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit.
* [fixmystreet.com] Improve fixture loading script.Matthew Somerville2017-06-20-0/+155
Given a MapIt area ID, the script will create a body and categories, users with different levels of permissions, and some random problems and updates. It can optionally empty out the database first.