* testcase: change sceneId to sceneID.

This commit is contained in:
liugang
2023-08-11 16:09:04 +08:00
parent 3c8f13e6ad
commit 9d8c138167
3 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -2695,18 +2695,18 @@ class testcase extends control
/**
* Batch change scene.
*
* @param int $sceneId
* @param int $sceneID
* @access public
* @return void
*/
public function batchChangeScene($sceneId)
public function batchChangeScene($sceneID)
{
if($this->post->caseIDList)
{
$caseIDList = $this->post->caseIDList;
$caseIDList = array_unique($caseIDList);
unset($_POST['caseIDList']);
$allChanges = $this->testcase->batchChangeScene($caseIDList, $sceneId);
$allChanges = $this->testcase->batchChangeScene($caseIDList, $sceneID);
if(dao::isError()) return print(js::error(dao::getError()));
if(!empty($allChanges[1]))