diff options
author | Struan Donald <struan@exo.org.uk> | 2013-08-01 12:00:55 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-08-01 12:00:55 +0100 |
commit | 9d92c3c38bad26cd58a2e799b467202bcbb31dbe (patch) | |
tree | 2337d0f4be2a48a8d3afe0a5f1a663fc48261c3b /t | |
parent | 094e926d6c62bc8e9e45e69ec256744cda169d7d (diff) |
Fix failing test for problem confirmation
Update for change to bodies_str, make sure sent_fail_count 0 and update
standard template variables
Diffstat (limited to 't')
-rw-r--r-- | t/app/model/problem.t | 3 |
1 files changed, 2 insertions, 1 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( |