* testcase: rename the buildCaseForCase method to buildCaseForCreate.
This commit is contained in:
@@ -241,7 +241,7 @@ class testcase extends control
|
||||
{
|
||||
/* 构建用例。 */
|
||||
/* Build Case. */
|
||||
$case = $this->testcaseZen->buildCaseForCase($from, $param);
|
||||
$case = $this->testcaseZen->buildCaseForCreate($from, $param);
|
||||
|
||||
/* 创建测试用例前检验表单数据是否正确。 */
|
||||
/* Check from data for create case. */
|
||||
|
||||
@@ -1112,7 +1112,7 @@ class testcaseZen extends testcase
|
||||
* @access protected
|
||||
* @return void
|
||||
*/
|
||||
protected function buildCaseForCase(string $from, int $param): object
|
||||
protected function buildCaseForCreate(string $from, int $param): object
|
||||
{
|
||||
$status = $this->getStatusForCreate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user