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 b62ae560..5c59698b 100644
--- a/tests/units/TaskStatusTest.php
+++ b/tests/units/TaskStatusTest.php
@@ -29,7 +29,7 @@ class TaskStatusTest extends Base
$this->assertNotEmpty($task);
$this->assertEquals(Task::STATUS_OPEN, $task['is_active']);
$this->assertEquals(0, $task['date_completed']);
- $this->assertEquals(time(), $task['date_modification']);
+ $this->assertEquals(time(), $task['date_modification'], '', 1);
// We close the task
@@ -54,7 +54,7 @@ class TaskStatusTest extends Base
$this->assertNotEmpty($task);
$this->assertEquals(Task::STATUS_OPEN, $task['is_active']);
$this->assertEquals(0, $task['date_completed']);
- $this->assertEquals(time(), $task['date_modification'], 1);
+ $this->assertEquals(time(), $task['date_modification'], '', 1);
$called = $this->container['dispatcher']->getCalledListeners();
$this->assertArrayHasKey('task.close.TaskStatusTest::onTaskClose', $called);