From 4f325193be4f16a9658258fecd525e71917156a0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 26 Feb 2017 16:06:09 -0500 Subject: Add class SubtaskListFormatter --- tests/units/Model/NotificationModelTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/units/Model/NotificationModelTest.php') 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); -- cgit v1.2.3