diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-07 22:05:31 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-07 22:05:31 -0500 |
commit | 607d9dc79429cefa51dfe1739564922cc9a2ab89 (patch) | |
tree | 8d55361e87343431161d8dfe8a46bdf3183dd49b /tests | |
parent | 4def2ab60cebe111bc76a755b27a68f5beed869b (diff) |
Add delta to unit test
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/TaskStatusTest.php | 4 |
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 |