diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-08-19 15:44:02 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-08-19 15:46:16 +0100 |
commit | efa106c52e2668715d17b860a8afa71501691185 (patch) | |
tree | 510aba995e818f5500b980b2a904a3e790b0b1c8 /t/app/model/problem.t | |
parent | ad81d87a957b5590fbcba3f2325526a9cddcbb7f (diff) |
Move "missing" handling to separate column.
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', |