aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-09-11 18:58:31 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-10-14 11:29:59 +0100
commita92bb19ebd9e0209373ad07a513b7460d65a3f64 (patch)
tree66dc6aa0ab7b8835cfe710b6a5fb0637ad2c727c /t/app/controller
parent07891b75a6973f4503789d6a231ca34c984c9a15 (diff)
[Westminster] Test warnfixes.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/auth_social.t9
1 files changed, 5 insertions, 4 deletions
diff --git a/t/app/controller/auth_social.t b/t/app/controller/auth_social.t
index f5f64248c..d0ee4e148 100644
--- a/t/app/controller/auth_social.t
+++ b/t/app/controller/auth_social.t
@@ -56,9 +56,12 @@ for my $test (
}, {
type => 'oidc',
config => {
- ALLOWED_COBRANDS => [ { westminster => '.' } ],
+ ALLOWED_COBRANDS => 'westminster',
MAPIT_URL => 'http://mapit.uk/',
COBRAND_FEATURES => {
+ anonymous_account => {
+ westminster => 'test',
+ },
oidc_login => {
westminster => {
client_id => 'example_client_id',
@@ -385,6 +388,4 @@ for my $tw_state ( 'refused', 'existing UID', 'no email' ) {
};
-END {
- done_testing();
-}
+done_testing();