Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [Zurich] Fix 500 error when editing superusers | Dave Arter | 2016-12-06 | -0/+6 |
| | | | | | | | | | | | | The Zurich::admin_type function was setting $c->stash->{body}, meaning that when trying to edit a superuser the 'fetch_contacts' function wasn't being called, causing an "Can't call method "all" on an undefined value" error as $c->stash->{live_contacts} wasn't ever being set. Fixed by changing the conditional to simply determine whether fetch_contacts needs to be called. Included a regression test that meant a small addition to the MapItZurich mock. | |||
* | Allow zurich tests to run without network. | Matthew Somerville | 2016-03-23 | -0/+43 |