+ [misc] Add unit tests for tutorialModel::getBug() 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 af7a37ba26
commit c67332b621
2 changed files with 44 additions and 0 deletions
@@ -631,4 +631,19 @@ class tutorialTest
return $result;
}
/**
* 测试获取新手模式Bug。
* Test get bug.
*
* @access public
* @return object
*/
public function getBugTest(): object
{
$result = $this->objectModel->getBug();
if(dao::isError()) return dao::getError();
return $result;
}
}