diff options
-rw-r--r-- | t/app/controller/auth_social.t | 9 | ||||
-rw-r--r-- | t/cobrand/westminster.t | 4 |
2 files changed, 9 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(); diff --git a/t/cobrand/westminster.t b/t/cobrand/westminster.t index 303401de6..84def0917 100644 --- a/t/cobrand/westminster.t +++ b/t/cobrand/westminster.t @@ -3,6 +3,10 @@ use Test::MockModule; use FixMyStreet::TestMech; use FixMyStreet::Script::Reports; +# disable info logs for this test run +FixMyStreet::App->log->disable('info'); +END { FixMyStreet::App->log->enable('info'); } + ok( my $mech = FixMyStreet::TestMech->new, 'Created mech object' ); my $cobrand = Test::MockModule->new('FixMyStreet::Cobrand::Westminster'); |