Merge branch 'master' into sprint/220
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user