diff options
author | Struan Donald <struan@exo.org.uk> | 2013-01-16 11:48:06 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-01-16 11:48:06 +0000 |
commit | c0a273ca35564b030ff328fead90798fcee61c44 (patch) | |
tree | 224cf441e2aed6ac2698397e240555ad6a66f5f0 /t/app/controller/report_updates.t | |
parent | 682db36dca4db6c0682deeb4fb704e8cf222e38c (diff) |
fix failing tests due to timing issues
Diffstat (limited to 't/app/controller/report_updates.t')
-rw-r--r-- | t/app/controller/report_updates.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index 2204a9d99..12ac5d654 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -724,7 +724,7 @@ subtest "check comment with no status change has not status in meta" => sub { unlike $update_meta->[1], qr/marked as/, 'second update meta does not include state change'; like $update_meta->[2], qr/marked as investigating/, 'third update meta says investigating'; - my $dt = DateTime->now; + my $dt = DateTime->now->add( seconds => 1 ); my $comment = FixMyStreet::App->model('DB::Comment')->find_or_create( { problem_id => $report_id, |