aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-20 12:29:33 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-20 12:33:24 +0100
commitb994038f7d169ac6a3bf270c8a371fa7d285e4b2 (patch)
tree24896aca43b163819c8907e46ba0829330879575 /t/app/controller
parentde82174490560cf2d83897a3121d50aa302ca05c (diff)
anonymous cannot be null
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/report_updates.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index 7f6f4dc1a..3c07ac054 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -67,6 +67,7 @@ my $comment = FixMyStreet::App->model('DB::Comment')->find_or_create(
text => 'This is some update text',
state => 'confirmed',
confirmed => $dt->ymd . ' ' . $dt->hms,
+ anonymous => 'f',
}
);
@@ -152,6 +153,7 @@ subtest "several updates shown in correct order" => sub {
text => 'First update',
state => 'confirmed',
confirmed => '2011-03-10 12:23:15',
+ anonymous => 'f',
},
{
problem_id => $report_id,
@@ -161,6 +163,7 @@ subtest "several updates shown in correct order" => sub {
text => 'Second update',
state => 'confirmed',
confirmed => '2011-03-10 12:23:16',
+ anonymous => 'f',
},
{
problem_id => $report_id,