aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-06-04 18:16:12 +0100
committerMatthew Somerville <matthew@mysociety.org>2013-06-04 18:16:12 +0100
commitcb4f51af527ab1c4eaee7aaf061c01aec96c5eb9 (patch)
treefa0b7ae6b33a53d6af63fb8f8f03c01795805ebc
parentb0159b4f7b7a97bc062f200d2550ffc5fd4006d8 (diff)
Update test for change in 73c7fa6.
-rw-r--r--t/cobrand/zurich.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index 6c88feac8..5d7ff8672 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -213,7 +213,7 @@ $mech->content_contains('Third Test');
$mech->content_contains('Weitergeleitet an: External Body');
FixMyStreet::App->model('DB::Problem')->send_reports('zurich');
$email = $mech->get_email;
-like $email->header('Subject'), qr/Neue Meldung/, 'subject looks okay';
+like $email->header('Subject'), qr/Weitergeleitete Meldung/, 'subject looks okay';
like $email->header('To'), qr/external_body\@example.org/, 'to line looks correct';
like $email->body, qr/External Body/, 'body has right name';
unlike $email->body, qr/test\@example.com/, 'body does not contain email address';
@@ -232,7 +232,7 @@ $mech->content_contains('Third Test');
$mech->content_contains('Weitergeleitet an: External Body');
FixMyStreet::App->model('DB::Problem')->send_reports('zurich');
$email = $mech->get_email;
-like $email->header('Subject'), qr/Neue Meldung/, 'subject looks okay';
+like $email->header('Subject'), qr/Weitergeleitete Meldung/, 'subject looks okay';
like $email->header('To'), qr/external_body\@example.org/, 'to line looks correct';
like $email->body, qr/External Body/, 'body has right name';
like $email->body, qr/test\@example.com/, 'body does contain email address';