aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock/MapItZurich.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-15 14:03:40 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-18 09:43:42 +0100
commitd2c9d3f4dbdff822f90a4934d858dabec2c85e17 (patch)
tree229ecaae84b7b5659953faa30fe1b281a1ff45cf /t/Mock/MapItZurich.pm
parent31b8337e38b1b39db1660fb877bf1419cc6128f9 (diff)
[Zurich] Bring all reports in line with upstream.
Update the map/list if the map is zoomed/panned, and make sure the updated HTML list is returned.
Diffstat (limited to 't/Mock/MapItZurich.pm')
-rw-r--r--t/Mock/MapItZurich.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/Mock/MapItZurich.pm b/t/Mock/MapItZurich.pm
index 9195749f6..f7bcda31d 100644
--- a/t/Mock/MapItZurich.pm
+++ b/t/Mock/MapItZurich.pm
@@ -46,4 +46,6 @@ sub dispatch_request {
},
}
+LWP::Protocol::PSGI->register(t::Mock::MapItZurich->to_psgi_app, host => 'mapit.zurich');
+
__PACKAGE__->run_if_script;