Merge branch 'sprint/master_zhaoke_60818' into 'master'
* Add test task name param to ciresults api. See merge request easycorp/zentaopms!4554
This commit is contained in:
@@ -150,7 +150,7 @@ class ci extends control
|
||||
|
||||
$testtask = new stdclass();
|
||||
$testtask->product = $productID;
|
||||
$testtask->name = sprintf($this->lang->testtask->titleOfAuto, date('Y-m-d H:i:s'));
|
||||
$testtask->name = !empty($post->name) ? $post->name : sprintf($this->lang->testtask->titleOfAuto, date('Y-m-d H:i:s'));
|
||||
$testtask->owner = $this->app->user->account;
|
||||
$testtask->project = $lastProject->project;
|
||||
$testtask->execution = $lastProject->id;
|
||||
|
||||
Reference in New Issue
Block a user