summaryrefslogtreecommitdiff
path: root/tests/units/BoardTest.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-04 23:31:03 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-04 23:31:03 -0400
commit8e5673e3d289e4d28b4fc9f20721bda9f1c858c7 (patch)
treea5dc3eff7408e8709d20ea92b926c5424d70c5f9 /tests/units/BoardTest.php
parentf531d57dc27b9d1568de0a10b19f69e8c2b2f156 (diff)
Improve settings page and move some config parameters to the database
Diffstat (limited to 'tests/units/BoardTest.php')
-rw-r--r--tests/units/BoardTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/units/BoardTest.php b/tests/units/BoardTest.php
index 21d65543..cdf23a82 100644
--- a/tests/units/BoardTest.php
+++ b/tests/units/BoardTest.php
@@ -27,8 +27,10 @@ class BoardTest extends Base
$this->assertEquals('Done', $columns[4]);
// Custom columns: spaces should be trimed and no empty columns
+ $input = ' column #1 , column #2, ';
- $this->assertTrue($c->save(array('default_columns' => ' column #1 , column #2, ')));
+ $this->assertTrue($c->save(array('board_columns' => $input)));
+ $this->assertEquals($input, $c->get('board_columns'));
$this->assertEquals(2, $p->create(array('name' => 'UnitTest2')));
$columns = $b->getColumnsList(2);