aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2016-01-29 15:12:29 +0000
committerMatthew Somerville <matthew@mysociety.org>2016-01-29 15:12:29 +0000
commit68dda6c87e0ea01e9934b18f1061c0066f352e9e (patch)
tree2de1c83495b7e905beb75d225a8d4044c0a718e2 /t/app/controller/alert.t
parent32cc764609a304fb09718e91ca836c8788db1f51 (diff)
parentb4e69645bd2ff24fb603bf7461e2c80b316eaeaa (diff)
Merge branch '1315-open311-update-media_url'
Diffstat (limited to 't/app/controller/alert.t')
-rw-r--r--t/app/controller/alert.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t
index 5bf2af428..c7dc9ed09 100644
--- a/t/app/controller/alert.t
+++ b/t/app/controller/alert.t
@@ -6,7 +6,7 @@ use LWP::Protocol::PSGI;
use FixMyStreet::TestMech;
my $mech = FixMyStreet::TestMech->new;
-use t::Nominatim;
+use t::Mock::Nominatim;
# check that we can get the page
$mech->get_ok('/alert');
@@ -42,7 +42,7 @@ FixMyStreet::override_config {
$mech->content_contains('ward:2651:20728:City_of_Edinburgh:City_Centre');
subtest "Test Nominatim lookup" => sub {
- LWP::Protocol::PSGI->register(t::Nominatim->run_if_script, host => 'nominatim.openstreetmap.org');
+ LWP::Protocol::PSGI->register(t::Mock::Nominatim->run_if_script, host => 'nominatim.openstreetmap.org');
$mech->get_ok('/alert/list?pc=High Street');
$mech->content_contains('We found more than one match for that location');
};