aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin_permissions.t
Commit message (Collapse)AuthorAgeLines
* enable body users to report problems anonymouslyStruan Donald2017-08-16-0/+2
| | | | | | uses the body user but flags the report as anonymous Fixes #fixmystreetforcouncils/207
* Run each test file in a transaction.Matthew Somerville2017-06-20-7/+0
| | | | This means that the tests can be run in parallel.
* [UK] Remove requirement for fixed body IDs.Matthew Somerville2017-06-20-2/+2
| | | | | | | | | | | | 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.
* Auto-add strict/warnings/Test::More with TestMech.Matthew Somerville2017-05-31-4/+0
|
* Always include MapIt mock handler in all tests.Matthew Somerville2017-03-23-4/+0
|
* Add new category_edit restriction for viewing body admin.Matthew Somerville2016-09-09-2/+2
|
* Simplify some permissions logic with extra helper methodDave Arter2016-09-08-1/+1
|
* Warnfix test by specifying areas for problem.Matthew Somerville2016-08-24-1/+3
|
* Allow user to have an area assigned in adminDave Arter2016-08-22-1/+7
|
* Allow user permissions to be granted/revoked in adminDave Arter2016-08-17-0/+201