aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock/MapItZurich.pm
Commit message (Collapse)AuthorAgeLines
* [Zurich] Fix 500 error when editing superusersDave Arter2016-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 Somerville2016-03-23-0/+43