aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/report_import.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/report_import.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/report_import.t')
-rw-r--r--t/app/controller/report_import.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_import.t b/t/app/controller/report_import.t
index 934bf0346..eb686b44e 100644
--- a/t/app/controller/report_import.t
+++ b/t/app/controller/report_import.t
@@ -266,7 +266,7 @@ subtest "Submit a correct entry (with location) to cobrand" => sub {
SKIP: {
skip( "Need 'fiksgatami' in ALLOWED_COBRANDS config", 20 )
- unless FixMyStreet::App->config->{ALLOWED_COBRANDS} =~ m{fiksgatami};
+ unless FixMyStreet::Cobrand->exists('fiksgatami');
mySociety::MaPit::configure('http://mapit.nuug.no/');
ok $mech->host("fiksgatami.no"), 'change host to fiksgatami';