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