* Refactor doc::getApiLibs unit test.

This commit is contained in:
tianshujie
2023-12-04 13:34:39 +08:00
parent f8b6e83034
commit b1c1b8a056
2 changed files with 37 additions and 21 deletions
+15
View File
@@ -1080,4 +1080,19 @@ class docTest
{
return $this->objectModel->getLibs($type, $extra, $appendLibs, $objectID, $excludeType);
}
/**
* 获取api文档库。
* Get api libraries.
*
* @param int $appendLib
* @param string $objectType nolink|product|project
* @param int $objectID
* @access public
* @return array
*/
public function getApiLibsTest(int $appendLib = 0, string $objectType = '', int $objectID = 0): array
{
return $this->objectModel->getApiLibs($appendLib, $objectType, $objectID);
}
}