+ [bug#59450,done,1h] update testtask's status.
This commit is contained in:
@@ -924,6 +924,7 @@ class testtask extends control
|
||||
$cases = form::batchData($this->config->testtask->form->batchRun)->get();
|
||||
$this->testtask->batchRun($cases, $from, $taskID);
|
||||
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
|
||||
if(!empty($taskID)) $this->testtask->updateStatus((int)$taskID);
|
||||
|
||||
return $this->send(array('result' => 'success', 'message' => $this->lang->saveSuccess, 'load' => $url));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user