diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-02-01 14:19:49 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-02-01 14:19:49 -0500 |
commit | 40ca850707b2f7f51d2d9028bcfd218cd966b32f (patch) | |
tree | 208af425a604261fce0d6173a57b656ab2c34f3d /tests/units/BoardTest.php | |
parent | b42830e77d85b684fa8c93dd78d19d80c3b3b7fe (diff) |
Add column description (merge/change pull-request #549)
Diffstat (limited to 'tests/units/BoardTest.php')
-rw-r--r-- | tests/units/BoardTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/units/BoardTest.php b/tests/units/BoardTest.php index 48f3b3cc..23276718 100644 --- a/tests/units/BoardTest.php +++ b/tests/units/BoardTest.php @@ -206,7 +206,7 @@ class BoardTest extends Base $this->assertEquals(1, $p->create(array('name' => 'UnitTest1'))); $this->assertNotFalse($b->addColumn(1, 'another column')); - $this->assertNotFalse($b->addColumn(1, 'one more', 3)); + $this->assertNotFalse($b->addColumn(1, 'one more', 3, 'one more description')); $columns = $b->getColumns(1); $this->assertTrue(is_array($columns)); @@ -219,6 +219,7 @@ class BoardTest extends Base $this->assertEquals('one more', $columns[5]['title']); $this->assertEquals(3, $columns[5]['task_limit']); $this->assertEquals(6, $columns[5]['position']); + $this->assertEquals('one more description', $columns[5]['description']); } public function testMoveColumns() |