aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-07-18 17:25:37 +0100
committerDave Arter <davea@mysociety.org>2019-08-16 14:25:12 +0100
commitdadb7abb5319076d3f137b543553b5697e7e5735 (patch)
treee9830c3c2dc49f5986b5b9a6e81a7d19b3d313b9 /t/app/controller
parent10b22ec7ad2a4882de6b7eaff7aa8db739f8c411 (diff)
[Westminster] Disable all updates.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/auth_social.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/app/controller/auth_social.t b/t/app/controller/auth_social.t
index 62ab0b60f..ebde8e849 100644
--- a/t/app/controller/auth_social.t
+++ b/t/app/controller/auth_social.t
@@ -43,6 +43,7 @@ for my $test (
ALLOWED_COBRANDS => [ { fixmystreet => '.' } ],
MAPIT_URL => 'http://mapit.uk/',
},
+ update => 1,
email => 'facebook@example.org',
uid => 123456789,
mock => 't::Mock::Facebook',
@@ -90,6 +91,8 @@ $resolver->mock('address', sub { $test->{email} });
for my $state ( 'refused', 'no email', 'existing UID', 'okay' ) {
for my $page ( 'my', 'report', 'update' ) {
+ next if $page eq 'update' && !$test->{update};
+
subtest "test $test->{type} '$state' login for page '$page'" => sub {
# Lots of user changes happening here, make sure we don't confuse
# Catalyst with a cookie session user that no longer exists