+ [misc] Add unit tests for tutorialModel::getResearchStageStats() 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:27 +08:00
co-authored by Claude
parent e908c1209d
commit f0612c50b2
2 changed files with 47 additions and 0 deletions
@@ -1250,4 +1250,18 @@ class tutorialTest
return $result;
}
/**
* Test getResearchStageStats method.
*
* @access public
* @return array
*/
public function getResearchStageStatsTest(): array
{
$result = $this->objectModel->getResearchStageStats();
if(dao::isError()) return dao::getError();
return $result;
}
}