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