summaryrefslogtreecommitdiff
path: root/tests/units/Model/NotificationModelTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Model/NotificationModelTest.php')
-rw-r--r--tests/units/Model/NotificationModelTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Model/NotificationModelTest.php b/tests/units/Model/NotificationModelTest.php
index 0bd9db6e..e96e22bf 100644
--- a/tests/units/Model/NotificationModelTest.php
+++ b/tests/units/Model/NotificationModelTest.php
@@ -35,7 +35,7 @@ class NotificationModelTest extends Base
$this->assertEquals(1, $taskLinkModel->create(1, 2, 1));
$task = $taskFinderModel->getDetails(1);
- $subtask = $subtaskModel->getById(1, true);
+ $subtask = $subtaskModel->getByIdWithDetails(1);
$comment = $commentModel->getById(1);
$file = $commentModel->getById(1);
$tasklink = $taskLinkModel->getById(1);
@@ -76,7 +76,7 @@ class NotificationModelTest extends Base
$this->assertEquals(1, $taskFileModel->create(1, 'test', 'blah', 123));
$task = $taskFinderModel->getDetails(1);
- $subtask = $subtaskModel->getById(1, true);
+ $subtask = $subtaskModel->getByIdWithDetails(1);
$comment = $commentModel->getById(1);
$file = $commentModel->getById(1);
$tasklink = $taskLinkModel->getById(1);