aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-02-22 10:25:39 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-02-22 10:25:39 +0000
commitb933f61e0ee628ea42f654bb1308d30531aff13e (patch)
tree5cf4a682b8c0f11a88fd06357929b91cb55fe402 /t/app/controller
parentde0bbf71538b74bcc5fbcdcc539f5cb06cbd51b5 (diff)
Add duration to test update so one definitely comes after the other.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/report_updates.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t
index cdebee35d..aa34b1a2c 100644
--- a/t/app/controller/report_updates.t
+++ b/t/app/controller/report_updates.t
@@ -807,7 +807,7 @@ subtest 'check meta correct for second comment marking as reopened' => sub {
user => $user,
problem_id => $report->id,
text => 'update text',
- confirmed => DateTime->now,
+ confirmed => DateTime->now + DateTime::Duration->new( minutes => 1 ),
problem_state => 'confirmed',
anonymous => 0,
mark_open => 0,