diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-05-25 09:07:34 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-05-25 09:40:56 +0100 |
commit | 61749f6f561c18b8eef9d5b5158a7a1505ba1c4a (patch) | |
tree | c18f7c569c1978426272dd81f88a95956de0d80b /t/app/controller | |
parent | d7286a011c7216cdae9e8aee21895f4f74c3277b (diff) |
Fix test that would not run offline.
Switch it to use our mock MapIt. Also remove other unused
overrides to external services.
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_new.t | 2 | ||||
-rw-r--r-- | t/app/controller/reports.t | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/t/app/controller/report_new.t b/t/app/controller/report_new.t index f3bee0513..33324d210 100644 --- a/t/app/controller/report_new.t +++ b/t/app/controller/report_new.t @@ -1639,7 +1639,7 @@ subtest "inspectors get redirected directly to the report page" => sub { FixMyStreet::override_config { ALLOWED_COBRANDS => [ { fixmystreet => '.' } ], BASE_URL => 'https://www.fixmystreet.com', - MAPIT_URL => 'http://mapit.mysociety.org/', + MAPIT_URL => 'http://mapit.uk/', }, sub { $mech->log_out_ok; diff --git a/t/app/controller/reports.t b/t/app/controller/reports.t index a21d3ad65..56b4cce8c 100644 --- a/t/app/controller/reports.t +++ b/t/app/controller/reports.t @@ -199,7 +199,6 @@ is $stats->{'Westminster City Council'}->[1], 5, 'non public reports included in subtest "test fiksgatami all reports page" => sub { FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'fiksgatami' ], - MAPIT_URL => 'http://mapit.nuug.no/', }, sub { $mech->create_body_ok(3, 'Oslo'); ok $mech->host("fiksgatami.no"), 'change host to fiksgatami'; |