Add delta to unit test

This commit is contained in:
Frederic Guillot 2015-02-07 22:05:31 -05:00
parent 4def2ab60c
commit 607d9dc794
1 changed files with 2 additions and 2 deletions

View File

@ -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