summaryrefslogtreecommitdiff
path: root/tests/units/TaskStatusTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/TaskStatusTest.php')
-rw-r--r--tests/units/TaskStatusTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/TaskStatusTest.php b/tests/units/TaskStatusTest.php
index 410e4c36..b62ae560 100644
--- a/tests/units/TaskStatusTest.php
+++ b/tests/units/TaskStatusTest.php
@@ -42,8 +42,8 @@ class TaskStatusTest extends Base
$task = $tf->getById(1);
$this->assertNotEmpty($task);
$this->assertEquals(Task::STATUS_CLOSED, $task['is_active']);
- $this->assertEquals(time(), $task['date_completed']);
- $this->assertEquals(time(), $task['date_modification']);
+ $this->assertEquals(time(), $task['date_completed'], 'Bad completion timestamp', 1);
+ $this->assertEquals(time(), $task['date_modification'], 'Bad modification timestamp', 1);
// We open the task again