+ Add case for the buildProgramActionsMap and getNormalActions method.

This commit is contained in:
tianshujie
2023-09-18 09:56:32 +08:00
parent af44720e67
commit 4540fd0b26
4 changed files with 40 additions and 1 deletions
+14
View File
@@ -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.
*