diff --git a/module/testcase/control.php b/module/testcase/control.php index e9e4a289d3..3216532fda 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -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. */ diff --git a/module/testcase/zen.php b/module/testcase/zen.php index 8c5a67ea8f..f95de44df7 100644 --- a/module/testcase/zen.php +++ b/module/testcase/zen.php @@ -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();