+ [misc] Add unit tests for tutorialModel::getRisk() 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 bc88b45536
commit 311a03a5c3
2 changed files with 48 additions and 0 deletions
@@ -691,4 +691,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式风险。
* Test get risk.
*
* @access public
* @return object
*/
public function getRiskTest(): object
{
$result = $this->objectModel->getRisk();
if(dao::isError()) return dao::getError();
return $result;
}
}