- Remove unit test of bugModel-getAllBugs.

This commit is contained in:
liumengyi
2023-06-02 14:10:48 +08:00
parent 7b3ade472a
commit cc67c396e7
2 changed files with 0 additions and 71 deletions
-33
View File
@@ -165,39 +165,6 @@ class bugTest
}
}
/**
* Test get all bugs.
*
* @param string $productIDList
* @param string $moduleIDList
* @access public
* @return string
*/
public function getAllBugsTest($productIDList, $moduleIDList)
{
global $tester;
$executions = $tester->loadModel('execution')->getPairs('0', 'all', 'empty|withdelete');
$bugs = $this->objectModel->getAllBugs($productIDList, 'all', $moduleIDList, $executions, 'id_desc');
$title = '';
foreach($bugs as $bug)
{
$title .= ',' . $bug->title;
}
$title = trim($title, ',');
$title = str_replace("'", '', $title);
if(dao::isError())
{
return dao::getError();
}
else
{
return $title;
}
}
/**
* Test get by Sonarqube id.
*