Add swimlanes

This commit is contained in:
Frédéric Guillot
2014-12-26 17:43:13 -05:00
parent 2b27d986b3
commit cf821e117c
54 changed files with 2180 additions and 256 deletions

View File

@@ -48,11 +48,14 @@ class BoardTest extends Base
$this->assertEquals(1, $p->create(array('name' => 'UnitTest1')));
$board = $b->get(1);
$board = $b->getBoard(1);
$this->assertNotEmpty($board);
$this->assertEquals(4, count($board));
$this->assertTrue(array_key_exists('tasks', $board[2]));
$this->assertTrue(array_key_exists('title', $board[2]));
$this->assertEquals(1, count($board));
$this->assertEquals(4, count($board[0]));
$this->assertTrue(array_key_exists('name', $board[0]));
$this->assertTrue(array_key_exists('columns', $board[0]));
$this->assertTrue(array_key_exists('tasks', $board[0]['columns'][2]));
$this->assertTrue(array_key_exists('title', $board[0]['columns'][2]));
}
public function testGetColumn()