aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/questionnaire.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-11-06 21:04:10 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-11-07 17:01:02 +0000
commitab1625b7eaec127c727c236b98ba47a6643f4625 (patch)
tree239b736778b0b80f01b37222ab1039e984b4cae2 /t/app/controller/questionnaire.t
parenta44daf98c962a22f43408ab3990114ea156475c6 (diff)
If only one cobrand given, always use it.
If the ALLOWED_COBRANDS configuration variable only contains one entry (and also work if it's a string rather than a list), always use that cobrand, no matter what the hostname is. The example Vagrantfile no longer needs the configuration changes at all.
Diffstat (limited to 't/app/controller/questionnaire.t')
-rw-r--r--t/app/controller/questionnaire.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/questionnaire.t b/t/app/controller/questionnaire.t
index 8e553a1a5..3468909b9 100644
--- a/t/app/controller/questionnaire.t
+++ b/t/app/controller/questionnaire.t
@@ -384,7 +384,7 @@ for my $test (
}
FixMyStreet::override_config {
- ALLOWED_COBRANDS => [ 'emptyhomes' ],
+ ALLOWED_COBRANDS => [ 'emptyhomes', 'fixmystreet' ],
}, sub {
# EHA extra checking
ok $mech->host("reportemptyhomes.com"), 'change host to reportemptyhomes';