diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2013-09-05 16:20:06 +0100 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2013-09-10 15:40:08 +0100 |
commit | 8e7e991b7fa4a99104a5b49244d034c96ce07222 (patch) | |
tree | c4a5c1a6401ee9f4e7528f1f89fca24205b97922 /t/app/controller/report_display.t | |
parent | d6b5c4b9b71c394cd436193d85a207f7334e09f0 (diff) |
Don't use a domain name when testing that the default ALLOWED_COBRANDS will match to the wrong cobrand.
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r-- | t/app/controller/report_display.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index 7904b6736..62a5b3667 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -100,7 +100,7 @@ subtest "Zurich unconfirmeds are 200" => sub { if ( !FixMyStreet::Cobrand->exists('zurich') ) { plan skip_all => 'Skipping Zurich test without Zurich cobrand'; } - $mech->host( 'zurich.fixmystreet.com' ); + $mech->host( 'zurich.example.com' ); ok $report->update( { state => 'unconfirmed' } ), 'unconfirm report'; $mech->get_ok("/report/$report_id"); $mech->content_contains( 'Überprüfung ausstehend' ); @@ -403,7 +403,7 @@ subtest "Zurich banners are displayed correctly" => sub { if ( !FixMyStreet::Cobrand->exists('zurich') ) { plan skip_all => 'Skipping Zurich test without Zurich cobrand'; } - $mech->host( 'zurich.fixmystreet.com' ); + $mech->host( 'zurich.example.com' ); for my $test ( { |