+ [misc] Add unit tests for tutorialModel::getReviews() 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 bd71bda884
commit 6c74369be4
2 changed files with 48 additions and 0 deletions
@@ -766,4 +766,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式评审列表。
* Test get reviews.
*
* @access public
* @return array
*/
public function getReviewsTest(): array
{
$result = $this->objectModel->getReviews();
if(dao::isError()) return dao::getError();
return $result;
}
}