diff options
author | Matthew Somerville <matthew@mysociety.org> | 2015-08-19 15:55:41 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2015-08-19 15:55:41 +0100 |
commit | 8dfdbf84b57d8bbc179dcb895d6eb08c61fdef59 (patch) | |
tree | 4c463f153d69290e4850cbb71c016066e5ed5879 /t/app/model/problem.t | |
parent | 0784bdae637e3d0ca20dc3d66ec50c5d68e489ec (diff) | |
parent | b812f8526525c0f38d72bdc469ddc08b376854d2 (diff) |
Merge branch 'bodies_str-factoring'
Diffstat (limited to 't/app/model/problem.t')
-rw-r--r-- | t/app/model/problem.t | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/app/model/problem.t b/t/app/model/problem.t index 0a5f63b05..82569d72a 100644 --- a/t/app/model/problem.t +++ b/t/app/model/problem.t @@ -457,7 +457,8 @@ foreach my $test ( { email_count => 1, to => qr'Gloucestershire County Council" <2226@example', dear => qr'Dear Gloucestershire County Council,', - body => $body_ids{2226} . '|' . $body_ids{2649}, + body => $body_ids{2226}, + body_missing => $body_ids{2649}, missing => qr'problem might be the responsibility of Fife.*Council'ms, }, { %common, @@ -529,6 +530,7 @@ foreach my $test ( { $problem->discard_changes; $problem->update( { bodies_str => $test->{ body }, + bodies_missing => $test->{ body_missing }, state => 'confirmed', confirmed => \'current_timestamp', whensent => $test->{ unset_whendef } ? undef : \'current_timestamp', |