*[task#133114,doing,0.3h,3h]add comments

This commit is contained in:
lixiaoyu
2024-11-25 15:33:26 +08:00
committed by 李阳
parent 07d78f9908
commit 2648a3376e
+17
View File
@@ -2,6 +2,14 @@
include dirname(__FILE__, 5) . '/test/lib/ui.php';
class auditTester extends tester
{
/**
* 检查地盘审批下的数据
* check data of audit
*
* @param $tabName tab名称 all|SR|UR|ER
* @param $expectNum 预期数据
* @return mixed
*/
public function checkAudit($tabName, $expectNum)
{
$form = $this->initForm('my', 'audit', array(), 'appIframe-my');
@@ -25,6 +33,15 @@ class auditTester extends tester
: $this->failed("{$tabMessage[$tabName]}tab下数据显示不正确");
}
}
/**
* 在审批列表中评审
* review in audit list
*
* @param $type 类型 SR|UR|ER
* @param $expectNum 预期数据
* @return mixed
*/
public function review($type, $expectNum)
{
$form = $this->initForm('my', 'audit', array(), 'appIframe-my');