* Fix user module unit test scirpt bug.

This commit is contained in:
wangyuting
2023-12-21 18:37:55 +08:00
parent 9fdf665709
commit fdbc343b2a
5 changed files with 10 additions and 76 deletions
-18
View File
@@ -511,24 +511,6 @@ class userTest
return $this->objectModel->getGroupsByVisions($visions);
}
/**
* Test get my objects.
*
* @param string $account
* @param string $type
* @param string $status
* @param string $orderBy
* @access public
* @return void
*/
public function getObjectsTest($account, $type, $status, $orderBy)
{
$myObjects = $this->objectModel->getObjects($account, $type, $status, $orderBy);
if(dao::isError()) return dao::getError();
return $myObjects;
}
/**
* 测试清除用户失败次数和锁定时间。
* Test clean user locked time.