aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock/OpenIDConnect.pm
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2019-07-23 12:28:28 +0100
committerDave Arter <davea@mysociety.org>2019-08-16 14:25:12 +0100
commit1165ca9c88ef65fc46a911cd770d71236f4f2b35 (patch)
tree32b2d66c7c29ae3a3c4a344da8c11eac0e835376 /t/Mock/OpenIDConnect.pm
parentfba6d0112c68267baa56f8760878dd8dccb4b2d8 (diff)
[Westminster] Store user CRM ID when logging in via MyWestminster
Diffstat (limited to 't/Mock/OpenIDConnect.pm')
-rw-r--r--t/Mock/OpenIDConnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/Mock/OpenIDConnect.pm b/t/Mock/OpenIDConnect.pm
index ca0da48cd..3fb15ff70 100644
--- a/t/Mock/OpenIDConnect.pm
+++ b/t/Mock/OpenIDConnect.pm
@@ -46,7 +46,8 @@ sub dispatch_request {
auth_time => $now,
given_name => "Andy",
family_name => "Dwyer",
- tfp => "B2C_1_default"
+ tfp => "B2C_1_default",
+ extension_CrmContactId => "1c304134-ef12-c128-9212-123908123901",
};
$payload->{emails} = ['oidc@example.org'] if $self->returns_email;
my $signature = "dummy";