aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/index.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-03-28 10:12:56 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-03-28 10:12:56 +0100
commitb76cfb3889140f1c771c1f98254f724aad3d4297 (patch)
treebb7beada7a603119ea2897f54a6af96814d850e1 /t/app/controller/index.t
parent3f21a9742d89c3e4fda47a0be6ec2a17f802c99a (diff)
parenta8ceae6c99b00aefcba301b2f41033d84701f56a (diff)
Merge branch 'offline-tests'
Diffstat (limited to 't/app/controller/index.t')
-rw-r--r--t/app/controller/index.t9
1 files changed, 2 insertions, 7 deletions
diff --git a/t/app/controller/index.t b/t/app/controller/index.t
index 6752d4d7e..6b28a03d2 100644
--- a/t/app/controller/index.t
+++ b/t/app/controller/index.t
@@ -12,12 +12,7 @@ subtest "check that the form goes to /around" => sub {
$mech->get_ok('/');
is $mech->uri->path, '/', "still on '/'";
- # submit form
- FixMyStreet::override_config {
- MAPIT_URL => 'http://mapit.mysociety.org/',
- }, sub {
- $mech->submit_form_ok( { with_fields => { pc => 'SW1A 1AA', } } );
- };
+ $mech->submit_form_ok( { with_fields => { pc => 'SW1A 1AA', } } );
# check that we are at /around
is $mech->uri->path, '/around', "Got to /around";
@@ -52,7 +47,7 @@ subtest "does pc, (x,y), (e,n) or (lat,lon) go to /around" => sub {
# get the uri and check for 302
FixMyStreet::override_config {
- MAPIT_URL => 'http://mapit.mysociety.org/',
+ MAPIT_URL => 'http://mapit.uk/',
}, sub {
$mech->get_ok($uri);
};