aboutsummaryrefslogtreecommitdiffstats
path: root/t/cobrand/zurich.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2015-06-20 12:09:37 +0100
committerDave Arter <davea@mysociety.org>2015-10-06 09:09:24 +0100
commitff5e6664b9bf60ca62f9c632ea66d3413e67bcf3 (patch)
tree6a3a39186ab14ea5e3eaa006728c3790d52061d9 /t/cobrand/zurich.t
parente7c35a0de101331436b1d5d6f2346a8c85233737 (diff)
[Zurich] Updated email templates
- submit-external-wish.txt includes a link with report's coordinates, template values are interpolated Conflicts: perllib/FixMyStreet/SendReport/Zurich.pm
Diffstat (limited to 't/cobrand/zurich.t')
-rw-r--r--t/cobrand/zurich.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/cobrand/zurich.t b/t/cobrand/zurich.t
index 1b059e192..038a2fe35 100644
--- a/t/cobrand/zurich.t
+++ b/t/cobrand/zurich.t
@@ -515,6 +515,8 @@ subtest "external report triggers email" => sub {
FixMyStreet::override_config {
ALLOWED_COBRANDS => [ 'zurich' ],
}, sub {
+ # Set the public_response manually here because the default one will have line breaks that get escaped as HTML, causing the comparison to fail.
+ $report->set_extra_metadata('public_response' => 'Freundliche Gruesse Ihre Stadt Zuerich');
$report->update({ state => 'closed' }); # required to see body_external field
$mech->get_ok( '/admin/report_edit/' . $report->id );
$mech->submit_form_ok( {