diff options
author | Matthew Somerville <matthew@mysociety.org> | 2019-09-19 10:07:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2019-10-03 15:53:29 +0100 |
commit | 1ada9ee8ca6ba10bd6b3c7fb02f7b5599972db5c (patch) | |
tree | 894ef51a1eca70bb9a93a25dd0b4d38a0904463b /t/app/controller/moderate.t | |
parent | c73fc63cb5cb516377ed2638bbd607dbd4357bd5 (diff) |
Per-test file email addresses.
Diffstat (limited to 't/app/controller/moderate.t')
-rw-r--r-- | t/app/controller/moderate.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/moderate.t b/t/app/controller/moderate.t index 256122d9b..e22d9edbc 100644 --- a/t/app/controller/moderate.t +++ b/t/app/controller/moderate.t @@ -204,7 +204,7 @@ subtest 'Problem moderation' => sub { is $report->state, 'hidden', 'Is hidden'; my $email = $mech->get_email; - is $email->header('To'), '"Test User 2" <test-moderation2@example.com>', 'Sent to correct email'; + is $email->header('To'), '"Test User 2" <' . $user2->email . '>', 'Sent to correct email'; my $url = $mech->get_link_from_email($email); ok $url, "extracted complain url '$url'"; |