* Remove unit test of bugModel-batchResolve.
This commit is contained in:
@@ -1128,31 +1128,6 @@ class bugTest
|
||||
return $changes;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test batch resolve bugs.
|
||||
*
|
||||
* @param array $bugIDList
|
||||
* @param string $resolution
|
||||
* @param int $bugID
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function batchResolveTest($bugIDList, $resolution, $bugID)
|
||||
{
|
||||
$oldBugs = $this->objectModel->getByIdList($bugIDList);
|
||||
|
||||
$object = $this->objectModel->batchResolve($bugIDList, $resolution, 'trunk', $oldBugs, array(), 'user3');
|
||||
|
||||
if(dao::isError())
|
||||
{
|
||||
return dao::getError();
|
||||
}
|
||||
else
|
||||
{
|
||||
return !empty($object[$bugID]) ? $object[$bugID] : 0;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test activate a bug.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user