* testtask: rename the method to init a record for filling back the test result after the automated test is completed.

This commit is contained in:
liugang
2023-09-28 10:05:51 +08:00
parent b9db661214
commit 2c2eb1be5a
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -590,7 +590,7 @@ class testtaskZen extends testtask
/* Perform automated testing related operations after user confirmation. */
if($confirm == 'yes')
{
$resultID = $this->testtask->createResultForAutomatedTest($runID, $caseID, $run->case->version, $automation->node);
$resultID = $this->testtask->initResultForAutomatedTest($runID, $caseID, $run->case->version, $automation->node);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError(), 'load' => $this->createLink('zanode', 'browse')));
$this->zanode->runZTFScript($automation->id, $caseID, $resultID);