* Refactor getDefaultManagers method and case.
This commit is contained in:
@@ -977,28 +977,6 @@ class executionTest
|
||||
return count($objects);
|
||||
}
|
||||
|
||||
/**
|
||||
* function getDefaultManagers test by execution
|
||||
*
|
||||
* @param string $executionID
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getDefaultManagersTest($executionID)
|
||||
{
|
||||
$object = $this->executionModel->getDefaultManagers($executionID);
|
||||
|
||||
if(dao::isError())
|
||||
{
|
||||
$error = dao::getError();
|
||||
return $error;
|
||||
}
|
||||
else
|
||||
{
|
||||
return $object;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据产品ID列表查询分支信息。
|
||||
* Get branch information by the product ID list.
|
||||
|
||||
Reference in New Issue
Block a user