24 lines
720 B
PHP
Executable File
24 lines
720 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
|
include dirname(dirname(dirname(__FILE__))) . '/class/execution.class.php';
|
|
su('admin');
|
|
|
|
/**
|
|
|
|
title=测试executionModel->getKanbanStatusMapTest();
|
|
cid=1
|
|
pid=1
|
|
|
|
看板tesk查询 >> start
|
|
看板bug查询 >> resolve
|
|
看板统计 >> 2
|
|
|
|
*/
|
|
|
|
$count = array('0', '1');
|
|
|
|
$execution = new executionTest();
|
|
r($execution->getKanbanStatusMapTest($count[0])["task"]) && p('wait:doing') && e('start'); // 看板tesk查询
|
|
r($execution->getKanbanStatusMapTest($count[0])["bug"]) && p('wait:done') && e('resolve'); // 看板bug查询
|
|
r($execution->getKanbanStatusMapTest($count[1])) && p() && e('2'); // 看板统计
|