diff options
Diffstat (limited to 't/Mock/MapItZurich.pm')
-rw-r--r-- | t/Mock/MapItZurich.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/Mock/MapItZurich.pm b/t/Mock/MapItZurich.pm index 9195749f6..f7fd61a32 100644 --- a/t/Mock/MapItZurich.pm +++ b/t/Mock/MapItZurich.pm @@ -3,8 +3,6 @@ package t::Mock::MapItZurich; use JSON::MaybeXS; use Web::Simple; -use mySociety::Locale; - has json => ( is => 'lazy', default => sub { @@ -46,4 +44,6 @@ sub dispatch_request { }, } +LWP::Protocol::PSGI->register(t::Mock::MapItZurich->to_psgi_app, host => 'mapit.zurich'); + __PACKAGE__->run_if_script; |