diff options
Diffstat (limited to 't/app/controller/index.t')
-rw-r--r-- | t/app/controller/index.t | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/app/controller/index.t b/t/app/controller/index.t index 7fc15ab4b..308dd2c32 100644 --- a/t/app/controller/index.t +++ b/t/app/controller/index.t @@ -13,7 +13,11 @@ subtest "check that the form goes to /around" => sub { is $mech->uri->path, '/', "still on '/'"; # submit form - $mech->submit_form_ok( { with_fields => { pc => 'SW1A 1AA', } } ); + FixMyStreet::override_config { + MAPIT_URL => 'http://mapit.mysociety.org/', + }, sub { + $mech->submit_form_ok( { with_fields => { pc => 'SW1A 1AA', } } ); + }; # check that we are at /around is $mech->uri->path, '/around', "Got to /around"; |