+ [misc] Add unit tests for tutorialModel::getProgram() 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:06:27 +08:00
co-authored by Claude
parent 990579e2ec
commit c9dbfef7c0
2 changed files with 44 additions and 0 deletions
@@ -1004,4 +1004,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式项目集。
* Test get program.
*
* @access public
* @return object
*/
public function getProgramTest(): object
{
$result = $this->objectModel->getProgram();
if(dao::isError()) return dao::getError();
return $result;
}
}