+ [misc] Add unit tests for productZen::getBrowseProduct() method

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
liugang
2025-12-02 16:43:27 +08:00
committed by sunhao
co-authored by Claude
parent 6174ece150
commit 382bb59de6
+14
View File
@@ -1781,4 +1781,18 @@ class productZenTest extends baseTest
if(dao::isError()) return dao::getError();
return $result;
}
/**
* Test getBrowseProduct method.
*
* @param int $productID
* @access public
* @return mixed
*/
public function getBrowseProductTest(int $productID = 0)
{
$result = $this->invokeArgs('getBrowseProduct', array($productID));
if(dao::isError()) return dao::getError();
return $result;
}
}