aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/index.t6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/app/controller/index.t b/t/app/controller/index.t
index be4da6034..9be6dfa1e 100644
--- a/t/app/controller/index.t
+++ b/t/app/controller/index.t
@@ -8,7 +8,11 @@ subtest "check that the form goes to /around" => sub {
$mech->get_ok('/');
is $mech->uri->path, '/', "still on '/'";
- $mech->submit_form_ok( { with_fields => { pc => 'SW1A 1AA', } } );
+ FixMyStreet::override_config {
+ MAPIT_URL => 'http://mapit.uk/'
+ }, sub {
+ $mech->submit_form_ok( { with_fields => { pc => 'SW1A 1AA', } } );
+ };
# check that we are at /around
is $mech->uri->path, '/around', "Got to /around";