* Add test case for doc.

This commit is contained in:
tianshujie
2022-05-07 15:07:56 +08:00
parent 5a0d28b484
commit 7784f07677
4 changed files with 54 additions and 5 deletions
+14
View File
@@ -448,6 +448,12 @@ class docTest
return $objects;
}
/**
* Get statistic information.
*
* @access public
* @return object
*/
public function getStatisticInfoTest()
{
$objects = $this->objectModel->getStatisticInfo();
@@ -457,6 +463,14 @@ class docTest
return $objects;
}
/**
* Get the previous and next doc.
*
* @param int $docID
* @param int $libID
* @access public
* @return object
*/
public function getPreAndNextDocTest($docID, $libID)
{
$objects = $this->objectModel->getPreAndNextDoc($docID, $libID);