diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-28 14:34:11 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-08-28 16:29:18 +0100 |
commit | f83e44a8c1b41491686a3831e14529e6e554c653 (patch) | |
tree | 745ed244a608095659f5b030844d234a577c4c1d /t | |
parent | 22c12ab78128788bb44b8567d8735671b73b02e6 (diff) |
Use site name in contact email subject line.
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/contact.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/contact.t b/t/app/controller/contact.t index cb299d161..2cbdbc0da 100644 --- a/t/app/controller/contact.t +++ b/t/app/controller/contact.t @@ -305,7 +305,7 @@ for my $test ( my $email = $mech->get_email; - is $email->header('Subject'), 'FMS message: ' . $test->{fields}->{subject}, 'subject'; + is $email->header('Subject'), 'FixMyStreet message: ' . $test->{fields}->{subject}, 'subject'; is $email->header('From'), "\"$test->{fields}->{name}\" <$test->{fields}->{em}>", 'from'; my $body = $mech->get_text_body_from_email($email); like $body, qr/$test->{fields}->{message}/, 'body'; |