+ [misc] Add unit tests for tutorialModel::getTasks() 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 305c154026
commit d0cd9b69b2
2 changed files with 48 additions and 0 deletions
@@ -421,4 +421,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式任务列表。
* Test get tasks.
*
* @access public
* @return array
*/
public function getTasksTest(): array
{
$result = $this->objectModel->getTasks();
if(dao::isError()) return dao::getError();
return $result;
}
}