From 607d9dc79429cefa51dfe1739564922cc9a2ab89 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 7 Feb 2015 22:05:31 -0500 Subject: Add delta to unit test --- tests/units/TaskStatusTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/units') 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 -- cgit v1.2.3