aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock
Commit message (Collapse)AuthorAgeLines
* [Oxfordshire] tests for response time messagesStruan Donald2017-09-11-0/+1
|
* Make sure gettext domain specified in all tests.Matthew Somerville2017-08-25-2/+0
|
* [Bristol] Fix 500 error on /report/newDave Arter2017-08-21-0/+1
|
* [Zurich] Bring all reports in line with upstream.Matthew Somerville2017-08-18-0/+2
| | | | | Update the map/list if the map is zoomed/panned, and make sure the updated HTML list is returned.
* [UK] Stop nearest request with scientific notationMatthew Somerville2017-05-18-1/+39
| | | | | | If the longitude was very close to 0, it was being sent as e.g. 1e-6 in the request to MapIt. Mock out the Bing query so that this can be tested (the closest.t tests were previously always being skipped).
* [Oxfordshire] Send RDI reports by email.Matthew Somerville2017-05-16-0/+14
|
* Upgrade Net::Facebook::Oauth2 to 0.10Dave Arter2017-04-03-3/+3
| | | | | | | | | | 0.09 was communicating with v2.2 of the Facebook API which was switched off on 25th March 2017, so Facebook logins were no longer working. Mock::Facebook was updated to correctly return JSON from /oauth/access_token, to match the behaviour expected since v2.3 of the FB API. Fixes #1681
* Make sure all MapIt tests can run offline.Matthew Somerville2017-03-23-31/+66
|
* Always include MapIt mock handler in all tests.Matthew Somerville2017-03-23-0/+3
|
* [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 user to have an area assigned in adminDave Arter2016-08-22-0/+23
|
* Add Twitter social login.Matthew Somerville2016-04-08-0/+43
|
* Allow zurich tests to run without network.Matthew Somerville2016-03-23-0/+43
|
* Switch final few JSON uses to JSON::MaybeXS.Matthew Somerville2016-02-09-3/+3
|
* Spot media_url in Open311 GetServiceRequestUpdate.Matthew Somerville2016-01-29-0/+18
| | | | Fixes #1315.
* Move test mocks to their own directory.Matthew Somerville2016-01-27-0/+140