File size: 663 Bytes
e4f4821 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
<?php
require_once __DIR__.'/BaseProcedureTest.php';
class BoardProcedureTest extends BaseProcedureTest
{
protected $projectName = 'My project to test board';
public function testAll()
{
$this->assertCreateTeamProject();
$this->assertGetBoard();
}
public function assertGetBoard()
{
$board = $this->app->getBoard($this->projectId);
$this->assertNotNull($board);
$this->assertCount(1, $board);
$this->assertEquals('Default swimlane', $board[0]['name']);
$this->assertCount(4, $board[0]['columns']);
$this->assertEquals('Ready', $board[0]['columns'][1]['title']);
}
}
|