From 253df952777a76b964bd2c23a0ce10e295a5f997 Mon Sep 17 00:00:00 2001 From: liugang Date: Mon, 4 Sep 2023 13:38:38 +0800 Subject: [PATCH] * testcase: rename the buildCaseForCase method to buildCaseForCreate. --- module/testcase/control.php | 2 +- module/testcase/zen.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();