diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-21 17:23:07 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-23 18:48:55 +0000 |
commit | 8bdf783d5d18dde25b4d2f8309a42c6096cf09d3 (patch) | |
tree | d725016fcc8429c55b3c0266bb23ac8d56b4a243 /t/app/controller/admin_permissions.t | |
parent | 02fcb1606bc2b739fdc798e5ca06f2ed1b6bf6ea (diff) |
Always include MapIt mock handler in all tests.
Diffstat (limited to 't/app/controller/admin_permissions.t')
-rw-r--r-- | t/app/controller/admin_permissions.t | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/t/app/controller/admin_permissions.t b/t/app/controller/admin_permissions.t index 4b05660cc..dd256173d 100644 --- a/t/app/controller/admin_permissions.t +++ b/t/app/controller/admin_permissions.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 @@ FixMyStreet::override_config { MAPIT_URL => 'http://mapit.uk/', ALLOWED_COBRANDS => [ 'oxfordshire' ], }, sub { - LWP::Protocol::PSGI->register(t::Mock::MapIt->run_if_script, host => 'mapit.uk'); - my $user2_id = $user2->id; $report->update({ bodies_str => $oxfordshire->id }); |