+ [misc] Add unit tests for tutorialModel::getStages() 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 e00495492e
commit 176daf52f1
2 changed files with 48 additions and 0 deletions
@@ -391,4 +391,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式阶段列表。
* Test get tutorial stages.
*
* @access public
* @return array
*/
public function getStagesTest(): array
{
$result = $this->objectModel->getStages();
if(dao::isError()) return dao::getError();
return $result;
}
}