+ [misc] Add unit tests for tutorialModel::getRelease() 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 130a4d6c69
commit f8c36e0be5
2 changed files with 47 additions and 0 deletions
@@ -961,4 +961,18 @@ class tutorialTest
return $result;
}
/**
* Test getRelease method.
*
* @access public
* @return object
*/
public function getReleaseTest(): object
{
$result = $this->objectModel->getRelease();
if(dao::isError()) return dao::getError();
return $result;
}
}