- Remove unit test of bugModel-getOverdueBugs.
This commit is contained in:
@@ -361,39 +361,6 @@ class bugTest
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Test get bugs the overdueBugs is active or unclosed.
|
||||
*
|
||||
* @param string $productIDList
|
||||
* @param string $modules
|
||||
* @access public
|
||||
* @return string
|
||||
*/
|
||||
public function getOverdueBugsTest($productIDList, $modules)
|
||||
{
|
||||
global $tester;
|
||||
$executions = $tester->loadModel('execution')->getPairs('0', 'all', 'empty|withdelete');
|
||||
|
||||
$bugs = $this->objectModel->getOverdueBugs($productIDList, 'all', $modules, $executions, 'id_desc', null, 0);
|
||||
|
||||
$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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user