+ [misc] Add unit tests for tutorialModel::getBuilds() 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:26 +08:00
co-authored by Claude
parent b1dd3445dc
commit 4fd2e52b7c
2 changed files with 49 additions and 0 deletions
@@ -451,4 +451,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式版本列表。
* Test get builds.
*
* @access public
* @return array
*/
public function getBuildsTest(): array
{
$result = $this->objectModel->getBuilds();
if(dao::isError()) return dao::getError();
return $result;
}
}