aboutsummaryrefslogtreecommitdiffstats
path: root/t/Mock/OpenIDConnect.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-09-19 10:07:12 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-10-03 15:53:29 +0100
commit1ada9ee8ca6ba10bd6b3c7fb02f7b5599972db5c (patch)
tree894ef51a1eca70bb9a93a25dd0b4d38a0904463b /t/Mock/OpenIDConnect.pm
parentc73fc63cb5cb516377ed2638bbd607dbd4357bd5 (diff)
Per-test file email addresses.
Diffstat (limited to 't/Mock/OpenIDConnect.pm')
-rw-r--r--t/Mock/OpenIDConnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/Mock/OpenIDConnect.pm b/t/Mock/OpenIDConnect.pm
index 079c354fc..1a1428758 100644
--- a/t/Mock/OpenIDConnect.pm
+++ b/t/Mock/OpenIDConnect.pm
@@ -55,7 +55,7 @@ sub dispatch_request {
extension_CrmContactId => "1c304134-ef12-c128-9212-123908123901",
nonce => 'MyAwesomeRandomValue',
};
- $payload->{emails} = ['oidc@example.org'] if $self->returns_email;
+ $payload->{emails} = ['pkg-tappcontrollerauth_social.t-oidc@example.org'] if $self->returns_email;
my $signature = "dummy";
my $id_token = join(".", (
encode_base64($self->json->encode($header), ''),