+ [misc] Add unit tests for tutorialModel::getRequirement() 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:25 +08:00
co-authored by Claude
parent 21bffa230f
commit 5e5ad3972c
2 changed files with 48 additions and 0 deletions
@@ -314,4 +314,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式用户需求。
* Test get tutorial requirement.
*
* @access public
* @return object
*/
public function getRequirementTest(): object
{
$result = $this->objectModel->getRequirement();
if(dao::isError()) return dao::getError();
return $result;
}
}