diff options
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/Model/TaskTagModelTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Model/TaskTagModelTest.php b/tests/units/Model/TaskTagModelTest.php index 3485368e..32158952 100644 --- a/tests/units/Model/TaskTagModelTest.php +++ b/tests/units/Model/TaskTagModelTest.php @@ -79,7 +79,7 @@ class TaskTagModelTest extends Base $this->assertTrue($taskTagModel->save(1, 1, array('My tag 1', 'My tag 2', 'My tag 3'))); $this->assertTrue($taskTagModel->save(1, 2, array('My tag 3'))); - $tags = $taskTagModel->getTagsByTasks(array(1, 2, 3)); + $tags = $taskTagModel->getTagsByTaskIds(array(1, 2, 3)); $expected = array( 1 => array( @@ -121,7 +121,7 @@ class TaskTagModelTest extends Base $this->assertEquals(1, $taskCreationModel->create(array('project_id' => 1, 'title' => 'test1'))); $this->assertTrue($taskTagModel->save(1, 1, array('My tag 1', 'My tag 2', 'My tag 3'))); - $tags = $taskTagModel->getTagsByTasks(array()); + $tags = $taskTagModel->getTagsByTaskIds(array()); $this->assertEquals(array(), $tags); } |