aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/around.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-03-21 17:23:07 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-23 18:48:55 +0000
commit8bdf783d5d18dde25b4d2f8309a42c6096cf09d3 (patch)
treed725016fcc8429c55b3c0266bb23ac8d56b4a243 /t/app/controller/around.t
parent02fcb1606bc2b739fdc798e5ca06f2ed1b6bf6ea (diff)
Always include MapIt mock handler in all tests.
Diffstat (limited to 't/app/controller/around.t')
-rw-r--r--t/app/controller/around.t4
1 files changed, 0 insertions, 4 deletions
diff --git a/t/app/controller/around.t b/t/app/controller/around.t
index 9e2e7c524..eece843a8 100644
--- a/t/app/controller/around.t
+++ b/t/app/controller/around.t
@@ -1,9 +1,7 @@
use strict;
use warnings;
use Test::More;
-use LWP::Protocol::PSGI;
-use t::Mock::MapIt;
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
@@ -84,8 +82,6 @@ foreach my $test (
)
{
subtest "check lat/lng for '$test->{pc}'" => sub {
- LWP::Protocol::PSGI->register(t::Mock::MapIt->run_if_script, host => 'mapit.uk');
-
$mech->get_ok('/');
FixMyStreet::override_config {
ALLOWED_COBRANDS => [ { 'fixmystreet' => '.' } ],