+ [misc] Add unit tests for productZen::getFormFields4Create() 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
47aee3179c
commit
20db325a14
@@ -1922,4 +1922,19 @@ class productZenTest extends baseTest
|
||||
if(dao::isError()) return dao::getError();
|
||||
return $result;
|
||||
}
|
||||
|
||||
/**
|
||||
* Test getFormFields4Create method.
|
||||
*
|
||||
* @param int $programID
|
||||
* @param string $extra
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
public function getFormFields4CreateTest(int $programID = 0, string $extra = '')
|
||||
{
|
||||
$result = $this->invokeArgs('getFormFields4Create', array($programID, $extra));
|
||||
if(dao::isError()) return dao::getError();
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user