* Add testcase for function getbyshadowproduct.
This commit is contained in:
@@ -61,6 +61,18 @@ class Project
|
||||
return $this->triggerMethod('fetchProjectInfo', array('projectID' => $projectID));
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getByShadowProduct function.
|
||||
*
|
||||
* @param int $productID
|
||||
* @access public
|
||||
* @return string|bool|object
|
||||
*/
|
||||
public function testGetByShadowProduct($productID)
|
||||
{
|
||||
return $this->triggerMethod('getByShadowProduct', array('productID' => $productID));
|
||||
}
|
||||
|
||||
/**
|
||||
* Test start a project.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user