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