+ [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:
committed by
sunhao
co-authored by
Claude
parent
d779ef3fe8
commit
b74f584f9b
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user