diff options
author | Dave Arter <davea@mysociety.org> | 2015-09-22 15:27:27 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 09:09:25 +0100 |
commit | 134757068a47f788524937d65b635bfcd7242c45 (patch) | |
tree | 87ba379b3e0827cdcf2383c86669fd87ec374bd6 /t/app | |
parent | 7480ba512f4e88dcc08f50ec890c36141d0f44aa (diff) |
[Zurich] Override MAP_TYPE in tests where appropriate
Diffstat (limited to 't/app')
-rw-r--r-- | t/app/controller/report_display.t | 2 | ||||
-rw-r--r-- | t/app/controller/report_import.t | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index 6958032d9..c16b2656c 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -438,6 +438,7 @@ for my $test ( subtest "Zurich unconfirmeds are 200" => sub { FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'zurich' ], + MAP_TYPE => 'Zurich,OSM', }, sub { $mech->host( 'zurich.example.com' ); ok $report->update( { state => 'unconfirmed' } ), 'unconfirm report'; @@ -451,6 +452,7 @@ subtest "Zurich unconfirmeds are 200" => sub { subtest "Zurich banners are displayed correctly" => sub { FixMyStreet::override_config { ALLOWED_COBRANDS => [ 'zurich' ], + MAP_TYPE => 'Zurich,OSM', }, sub { $mech->host( 'zurich.example.com' ); diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t index 480fdd89f..4d0f6e5d1 100644 --- a/t/app/controller/report_import.t +++ b/t/app/controller/report_import.t @@ -321,6 +321,7 @@ subtest "Submit a correct entry (with location) to cobrand" => sub { MAPIT_URL => 'http://global.mapit.mysociety.org/', MAPIT_TYPES => [ 'O08' ], MAPIT_ID_WHITELIST => [], + MAP_TYPE => 'Zurich,OSM', }, sub { ok $mech->host("zurich.example.org"), 'change host to zurich'; |