From f7a00a8b16e102bb0cfd78a9d8e65a82bdfa88b0 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 3 May 2011 14:08:12 +0100 Subject: Use correct email address in test. --- t/app/helpers/send_email.t | 2 +- t/app/helpers/send_email_sample.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 't/app/helpers') diff --git a/t/app/helpers/send_email.t b/t/app/helpers/send_email.t index 97006c7e2..2e90b9f1a 100644 --- a/t/app/helpers/send_email.t +++ b/t/app/helpers/send_email.t @@ -40,7 +40,7 @@ my $email_as_string = $emails[0]->as_string; ok $email_as_string =~ s{\s+Date:\s+\S.*?$}{}xms, "Found and stripped out date"; my $expected_email_content = file(__FILE__)->dir->file('send_email_sample.txt')->slurp; -$expected_email_content =~ s{TESTING_EMAIL}{ FixMyStreet->config('TESTING_EMAIL') }e; +$expected_email_content =~ s{CONTACT_EMAIL}{ FixMyStreet->config('CONTACT_EMAIL') }e; is $email_as_string, $expected_email_content, diff --git a/t/app/helpers/send_email_sample.txt b/t/app/helpers/send_email_sample.txt index 900f3103c..b5c517246 100644 --- a/t/app/helpers/send_email_sample.txt +++ b/t/app/helpers/send_email_sample.txt @@ -3,7 +3,7 @@ Subject: test email =?utf-8?Q?=E2=98=BA?= Content-Type: text/plain; charset="utf-8" To: test@recipient.com Content-Transfer-Encoding: quoted-printable -From: TESTING_EMAIL +From: CONTACT_EMAIL Hello, -- cgit v1.2.3