diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-11-22 19:15:50 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-11-22 19:15:50 -0500 |
commit | 4d007ec39fe808c28fe08516afe549aa5d0aeb42 (patch) | |
tree | 615ef57a18e675afead27046b90fe800a9f63109 /tests/units | |
parent | c49d46718a07afeea017aa90a60320587211dc49 (diff) |
addColumn() return the column_id now
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/BoardTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/BoardTest.php b/tests/units/BoardTest.php index b83fee85..a7de34bd 100644 --- a/tests/units/BoardTest.php +++ b/tests/units/BoardTest.php @@ -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)); |