diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-26 16:06:09 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-26 16:06:09 -0500 |
commit | 4f325193be4f16a9658258fecd525e71917156a0 (patch) | |
tree | 898aaf4f18bfa9b2b3a09dbb8f54413154b1d357 /tests/units/Model/NotificationModelTest.php | |
parent | 4a87fb34ba0a88303282923a73a8fef83d7aada3 (diff) |
Add class SubtaskListFormatter
Diffstat (limited to 'tests/units/Model/NotificationModelTest.php')
-rw-r--r-- | tests/units/Model/NotificationModelTest.php | 4 |
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); |