diff options
author | Frederic Guillot <fred@kanboard.net> | 2017-02-18 13:38:51 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2017-02-18 13:38:51 -0500 |
commit | 49c8e5c1be15b9732023703473bb7e15864770f6 (patch) | |
tree | a4dcf83e0601fd734d44ad67e36299921959c3c2 /tests/units/Model/ColumnModelTest.php | |
parent | 948b7fbaaa58c0a825938f7e8bda9a07ec39239b (diff) |
Prevent people to remove swimlanes that contains tasks
Diffstat (limited to 'tests/units/Model/ColumnModelTest.php')
-rw-r--r-- | tests/units/Model/ColumnModelTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/ColumnModelTest.php b/tests/units/Model/ColumnModelTest.php index 75d1da20..9f2a4d9e 100644 --- a/tests/units/Model/ColumnModelTest.php +++ b/tests/units/Model/ColumnModelTest.php @@ -105,7 +105,7 @@ class ColumnModelTest extends Base $this->assertEquals(1, $taskCreationModel->create(array('title' => 'UnitTest', 'project_id' => 1, 'column_id' => 1))); $this->assertEquals(2, $taskCreationModel->create(array('title' => 'UnitTest', 'project_id' => 1, 'column_id' => 2, 'is_active' => 0))); - $columns = $columnModel->getAllWithTasksCount(1); + $columns = $columnModel->getAllWithTaskCount(1); $this->assertCount(4, $columns); $this->assertEquals(1, $columns[0]['id']); |