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/report_as_other.t | |
parent | 02fcb1606bc2b739fdc798e5ca06f2ed1b6bf6ea (diff) |
Always include MapIt mock handler in all tests.
Diffstat (limited to 't/app/controller/report_as_other.t')
-rw-r--r-- | t/app/controller/report_as_other.t | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/t/app/controller/report_as_other.t b/t/app/controller/report_as_other.t index b4405be57..a0597c7c6 100644 --- a/t/app/controller/report_as_other.t +++ b/t/app/controller/report_as_other.t @@ -1,9 +1,7 @@ use strict; use warnings; use Test::More; -use LWP::Protocol::PSGI; -use t::Mock::MapIt; use FixMyStreet::TestMech; use FixMyStreet::App; @@ -134,7 +132,6 @@ END { sub start_report { my $permission = shift; - LWP::Protocol::PSGI->register(t::Mock::MapIt->run_if_script, host => 'mapit.uk'); $_->delete for $user->user_body_permissions; $user->user_body_permissions->create({ body => $body, permission_type => $permission }) if $permission; |