+ [misc] Add unit tests for productZen::responseAfterEdit() 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:28 +08:00
committed by sunhao
co-authored by Claude
parent d779ef3fe8
commit b74f584f9b
+15
View File
@@ -2296,4 +2296,19 @@ class productZenTest extends baseTest
if(dao::isError()) return dao::getError();
return $result;
}
/**
* Test responseAfterEdit method.
*
* @param int $productID
* @param int $programID
* @access public
* @return array
*/
public function responseAfterEditTest(int $productID = 0, int $programID = 0)
{
$result = $this->invokeArgs('responseAfterEdit', array($productID, $programID));
if(dao::isError()) return dao::getError();
return $result;
}
}