aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/about.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-01 13:56:08 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-01 13:56:08 +0100
commit32dded5497a353069ce2db7169175fead1990870 (patch)
treeeda0b66bcc9f604a29faeedfc63ed378d6b2e9f5 /t/app/controller/about.t
parent0eec3a2bbe1eb94267a9694baa10d13a5fb484be (diff)
Fix tests with new ALLOWED_COBRANDS structure, fix admin test to skip Barnet tests if not present.
Diffstat (limited to 't/app/controller/about.t')
-rw-r--r--t/app/controller/about.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/about.t b/t/app/controller/about.t
index ea7b1af20..4e49cdac9 100644
--- a/t/app/controller/about.t
+++ b/t/app/controller/about.t
@@ -13,7 +13,7 @@ $mech->content_contains('html class="no-js" lang="en-gb"');
SKIP: {
skip( "Need 'emptyhomes' in ALLOWED_COBRANDS config", 8 )
- unless FixMyStreet::App->config->{ALLOWED_COBRANDS} =~ m{emptyhomes};
+ unless FixMyStreet::Cobrand->exists('emptyhomes');
# check that geting the page as EHA produces a different page
ok $mech->host("reportemptyhomes.co.uk"), 'change host to reportemptyhomes';