+ [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:
liugang
2025-12-02 16:43:27 +08:00
committed by sunhao
co-authored by Claude
parent 47aee3179c
commit 20db325a14
+15
View File
@@ -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;
}
}