+ Add case for the buildProgramActionsMap and getNormalActions method.
This commit is contained in:
@@ -469,6 +469,20 @@ class programTest
|
||||
return $this->program->getByID($programID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 构建项目视角中项目的操作数据。
|
||||
* Build actions map for project.
|
||||
*
|
||||
* @param int $programID
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function buildProgramActionsMapTest(int $programID): array
|
||||
{
|
||||
$program = $this->program->getByID($programID);
|
||||
return $this->program->buildProgramActionsMap($program);
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getNormalActions method.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user