diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-05-03 14:08:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-05-03 14:08:12 +0100 |
commit | f7a00a8b16e102bb0cfd78a9d8e65a82bdfa88b0 (patch) | |
tree | e2cac67176ee6c4129e00e57ec5b67086ec05366 | |
parent | e7954b9d8143f02ec92ed7cf2dcf39b942ba36fe (diff) |
Use correct email address in test.
-rw-r--r-- | t/app/helpers/send_email.t | 2 | ||||
-rw-r--r-- | t/app/helpers/send_email_sample.txt | 2 |
2 files changed, 2 insertions, 2 deletions
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, |