Merge branch 'importExport' into 'master'

* Code for testcase import.

See merge request easycorp/zentaopms!5163
This commit is contained in:
王怡栋
2022-08-29 00:45:30 +00:00
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ $config->testcase->datatable->fieldList['story']['fixed'] = 'no';
$config->testcase->datatable->fieldList['story']['width'] = '90';
$config->testcase->datatable->fieldList['story']['required'] = 'no';
$config->testcase->datatable->fieldList['story']['control'] = 'select';
$config->testcase->datatable->fieldList['story']['dataSource'] = array('module' => 'port', 'method' => 'getRelatedObjects', 'params' => 'testcase&story&id,title');
$config->testcase->datatable->fieldList['story']['dataSource'] = array('module' => 'story', 'method' => 'getProductStoryPairs', 'params' => '$productID&$branch');
$config->testcase->datatable->fieldList['bugs']['title'] = 'B';
$config->testcase->datatable->fieldList['bugs']['fixed'] = 'no';
+3
View File
@@ -187,6 +187,9 @@ switch($argv[1])
case 'gitea':
ztfRun('model/gitea');
break;
case 'webhook':
ztfRun('model/webhook');
break;
default:
ztfExtract($argv[1]);