Merge branch 'master' into sprint/220

This commit is contained in:
caoyanyi
2022-11-25 13:52:26 +08:00
3551 changed files with 419254 additions and 21908 deletions
+18
View File
@@ -308,6 +308,24 @@ class testcaseTest
return $objects;
}
/**
* Test get case pairs by product id and branch.
*
* @param int $productID
* @param int $branch
* @access public
* @return array
*/
public function getPairsByProductTest($productID = 0, $branch = 0)
{
$objects = $this->objectModel->getPairsByProduct($productID, $branch);
if(dao::isError()) return dao::getError();
if(empty($objects)) return 'empty';
return $objects;
}
/**
* Test get counts of some stories' cases.
*