diff options
-rw-r--r-- | t/app/model/problem.t | 3 | ||||
-rw-r--r-- | templates/email/default/confirm_report_sent.txt | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t index 6ba2bbde4..7daa653fc 100644 --- a/t/app/model/problem.t +++ b/t/app/model/problem.t @@ -596,13 +596,14 @@ subtest 'check can turn on report sent email alerts' => sub { $problem->discard_changes; $problem->update( { - council => 2651, + bodies_str => 2651, state => 'confirmed', confirmed => \'ms_current_timestamp()', whensent => undef, category => 'potholes', name => 'Test User', cobrand => 'fixmystreet', + send_fail_count => 0, } ); my $m = new Test::MockModule( diff --git a/templates/email/default/confirm_report_sent.txt b/templates/email/default/confirm_report_sent.txt index 42f200213..201888270 100644 --- a/templates/email/default/confirm_report_sent.txt +++ b/templates/email/default/confirm_report_sent.txt @@ -2,7 +2,7 @@ Subject: Problem Report Sent: <?=$values['title']?> Hi, -Your report about "<?=$values['title']?>" has been sent to <?=$values['councils_name']?>. +Your report about "<?=$values['title']?>" has been sent to <?=$values['bodies_name']?>. Thanks |