addColumn() return the column_id now

This commit is contained in:
Frédéric Guillot
2014-11-22 19:15:50 -05:00
parent c49d46718a
commit 4d007ec39f
4 changed files with 14 additions and 8 deletions

View File

@@ -111,8 +111,8 @@ class BoardTest extends Base
$b = new Board($this->container);
$this->assertEquals(1, $p->create(array('name' => 'UnitTest1')));
$this->assertTrue($b->addColumn(1, 'another column'));
$this->assertTrue($b->addColumn(1, 'one more', 3));
$this->assertNotFalse($b->addColumn(1, 'another column'));
$this->assertNotFalse($b->addColumn(1, 'one more', 3));
$columns = $b->getColumns(1);
$this->assertTrue(is_array($columns));