aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.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/report_import.t
parent02fcb1606bc2b739fdc798e5ca06f2ed1b6bf6ea (diff)
Always include MapIt mock handler in all tests.
Diffstat (limited to 't/app/controller/report_import.t')
-rw-r--r--t/app/controller/report_import.t4
1 files changed, 0 insertions, 4 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index 6c0da221c..9201f600c 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.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;
use Web::Scraper;
@@ -92,8 +90,6 @@ subtest "Test creating bad partial entries" => sub {
};
subtest "Submit a correct entry" => sub {
- LWP::Protocol::PSGI->register(t::Mock::MapIt->run_if_script, host => 'mapit.uk');
-
$mech->get_ok('/import');
$mech->submit_form_ok( #