aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-08 12:09:27 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-08 12:09:27 +0000
commite3bce6312ed59ccd462cae69d214efdb1c19cbbc (patch)
tree35f1cbfe446efaa44cb1b04707c733f2c8a03f37 /t
parent599ff08d1b9e961b97b4fd94f52d6125033d208d (diff)
Send updates to user from body email address (fixes a2a).
Diffstat (limited to 't')
-rw-r--r--t/cobrand/zurich.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index de243eac0..71c904ed9 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -165,6 +165,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->body, qr/FINAL UPDATE/, 'body looks correct';
$mech->clear_emails_ok;