diff options
author | Dave Arter <davea@mysociety.org> | 2016-07-28 16:53:56 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-07-28 16:53:56 +0100 |
commit | 14aaf6fafaa9aa8736f49851e95fa2c3c566c056 (patch) | |
tree | fc1afeae6c1e82494044465cbf99a3ffdb893141 /t/cobrand | |
parent | 07d2c0f3e4b94ec8824a6f592dc586d71392db20 (diff) |
[Zurich] Send admin emails from the do-not-reply address
Also takes the opportunity to fix the incorrectly-encoded sender name which
was appearing to some clients as "Züri Wie Neu".
Diffstat (limited to 't/cobrand')
-rw-r--r-- | t/cobrand/zurich.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t index e16738b30..f1540e2b8 100644 --- a/t/cobrand/zurich.t +++ b/t/cobrand/zurich.t @@ -472,7 +472,7 @@ $mech->content_contains('FINAL UPDATE'); $email = $mech->get_email; like $email->header('To'), qr/test\@example.com/, 'to line looks correct'; -like $email->header('From'), qr/division\@example.org/, 'from line looks correct'; +like $email->header('From'), qr/do-not-reply\@example.org/, 'from line looks correct'; like $email->body, qr/FINAL UPDATE/, 'body looks correct'; $mech->clear_emails_ok; |