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