diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-01 13:56:08 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-01 13:56:08 +0100 |
commit | 32dded5497a353069ce2db7169175fead1990870 (patch) | |
tree | eda0b66bcc9f604a29faeedfc63ed378d6b2e9f5 /t/app/controller/about.t | |
parent | 0eec3a2bbe1eb94267a9694baa10d13a5fb484be (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.t | 2 |
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'; |