aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2019-09-16 16:08:30 +0100
committerMatthew Somerville <matthew@mysociety.org>2019-09-30 12:44:57 +0100
commitab8360f148d8d4026905ef8e10decee43bd16b4a (patch)
tree971ef511329211b0f7712b199463ec723161516f /t/cobrand
parent61bb7723bed7a5529d927835ea4043cbfbe1c3a0 (diff)
[Zurich] Do not override envelope sender.
Diffstat (limited to 't/cobrand')
-rw-r--r--t/cobrand/zurich.t2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index d89c59f25..a08eb431e 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -624,8 +624,6 @@ subtest "external report triggers email" => sub {
$mech->content_contains($report->get_extra_metadata('public_response')) or die $mech->content;
send_reports_for_zurich();
$email = $mech->get_email;
- my $envelope = $mech->get_email_envelope;
- is $envelope->{from}, 'division@example.org', 'Correct sender envelope';
like $email->header('Subject'), qr/Weitergeleitete Meldung/, 'subject looks okay';
like $email->header('To'), qr/external_body\@example.net/, 'to line looks correct';
like $email->body, qr/External Body/, 'body has right name';