diff options
Diffstat (limited to 't/cobrand/councils.t')
-rw-r--r-- | t/cobrand/councils.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/cobrand/councils.t b/t/cobrand/councils.t index 8fb10cfbe..0e8b71f04 100644 --- a/t/cobrand/councils.t +++ b/t/cobrand/councils.t @@ -5,14 +5,14 @@ use Test::More; use FixMyStreet::TestMech; my $mech = FixMyStreet::TestMech->new; -foreach my $council (qw/southampton reading bromley/) { - SKIP: { - skip( "Need '$council' in ALLOWED_COBRANDS config", 3 ) - unless FixMyStreet::Cobrand->exists($council); +foreach my $council (qw/oxfordshire bromley/) { + FixMyStreet::override_config { + ALLOWED_COBRANDS => [ $council ], + }, sub { ok $mech->host("$council.fixmystreet.com"), "change host to $council"; $mech->get_ok('/'); - $mech->content_like( qr/$council/i ); - } + $mech->content_like( qr/\u$council/ ); + }; } done_testing(); |