+ [misc] Add unit tests for programTao::setNoTaskExecution() method

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
liugang
2025-09-15 15:09:44 +08:00
co-authored by Claude
parent a3f2f85bdc
commit 9e100ec99f
4 changed files with 137 additions and 0 deletions
@@ -702,4 +702,20 @@ class programTest
return $result;
}
/**
* 设置没有任务的执行数据。
* Set execution stat when has no task.
*
* @param array $projectIdList
* @access public
* @return array
*/
public function setNoTaskExecutionTest(array $projectIdList): array
{
$result = $this->program->setNoTaskExecution($projectIdList);
if(dao::isError()) return dao::getError();
return $result;
}
}