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