- Remove unit test of bugModel-getOverdueBugs.

This commit is contained in:
liumengyi
2023-06-02 14:05:45 +08:00
parent 10f5e6823e
commit caf5fbd77b
2 changed files with 0 additions and 77 deletions
-33
View File
@@ -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.
*