aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/admin.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/admin.t
parent02fcb1606bc2b739fdc798e5ca06f2ed1b6bf6ea (diff)
Always include MapIt mock handler in all tests.
Diffstat (limited to 't/app/controller/admin.t')
-rw-r--r--t/app/controller/admin.t3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t
index ab6cac842..be3d6d08e 100644
--- a/t/app/controller/admin.t
+++ b/t/app/controller/admin.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;
@@ -1204,7 +1202,6 @@ my %default_perms = (
FixMyStreet::override_config {
MAPIT_URL => 'http://mapit.uk/',
}, sub {
- LWP::Protocol::PSGI->register(t::Mock::MapIt->run_if_script, host => 'mapit.uk');
for my $test (
{
desc => 'edit user name',