fix(接口测试): 场景导入提示问题
--bug=1009572 --user=lyh 【接口测试】场景导入没反应 https://www.tapd.cn/55049933/s/1092947
This commit is contained in:
parent
a878688929
commit
0919809099
|
@ -1219,7 +1219,7 @@ public class ApiAutomationService {
|
||||||
|
|
||||||
if (CollectionUtils.isNotEmpty(list)) {
|
if (CollectionUtils.isNotEmpty(list)) {
|
||||||
LogUtil.error("import scenario fail, custom num is exist: " + scenarioWithBLOBs.getCustomNum());
|
LogUtil.error("import scenario fail, custom num is exist: " + scenarioWithBLOBs.getCustomNum());
|
||||||
return scenarioWithBLOBs;
|
MSException.throwException(Translator.get("import_fail_custom_num_exists") + ": " + scenarioWithBLOBs.getCustomNum());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (StringUtils.equals("fullCoverage", apiTestImportRequest.getModeId())) {
|
if (StringUtils.equals("fullCoverage", apiTestImportRequest.getModeId())) {
|
||||||
|
|
|
@ -223,6 +223,7 @@ delete_check_reference_by=be referenced by Scenario
|
||||||
not_execute=Not execute
|
not_execute=Not execute
|
||||||
execute_not_pass=Not pass
|
execute_not_pass=Not pass
|
||||||
execute_pass=Pass
|
execute_pass=Pass
|
||||||
|
import_fail_custom_num_exists=import fail, custom num is exists
|
||||||
#authsource
|
#authsource
|
||||||
authsource_name_already_exists=Authentication source name already exists
|
authsource_name_already_exists=Authentication source name already exists
|
||||||
authsource_name_is_null=Authentication source name cannot be empty
|
authsource_name_is_null=Authentication source name cannot be empty
|
||||||
|
|
|
@ -223,6 +223,7 @@ delete_check_reference_by=被场景引用
|
||||||
not_execute=未执行
|
not_execute=未执行
|
||||||
execute_not_pass=未通过
|
execute_not_pass=未通过
|
||||||
execute_pass=通过
|
execute_pass=通过
|
||||||
|
import_fail_custom_num_exists=导入失败,自定义ID已存在
|
||||||
#authsource
|
#authsource
|
||||||
authsource_name_already_exists=认证源名称已经存在
|
authsource_name_already_exists=认证源名称已经存在
|
||||||
authsource_name_is_null=认证源名称不能为空
|
authsource_name_is_null=认证源名称不能为空
|
||||||
|
|
|
@ -223,6 +223,7 @@ delete_check_reference_by=被場景引用
|
||||||
not_execute=未執行
|
not_execute=未執行
|
||||||
execute_not_pass=未通過
|
execute_not_pass=未通過
|
||||||
execute_pass=通過
|
execute_pass=通過
|
||||||
|
import_fail_custom_num_exists=導入失敗,自定義ID已存在
|
||||||
#authsource
|
#authsource
|
||||||
authsource_name_already_exists=認證源名稱已經存在
|
authsource_name_already_exists=認證源名稱已經存在
|
||||||
authsource_name_is_null=認證源名稱不能為空
|
authsource_name_is_null=認證源名稱不能為空
|
||||||
|
|
Loading…
Reference in New Issue