* Add testcase for function getbyshadowproduct.

This commit is contained in:
caoyanyi
2023-04-28 14:24:28 +08:00
parent 2d0e151cdd
commit f05e7bd17e
3 changed files with 63 additions and 5 deletions
+12
View File
@@ -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.
*