mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(接口测试): 修复case名称重复提示错误的缺陷
This commit is contained in:
parent
8772efb00b
commit
7a68ede810
@ -373,7 +373,7 @@ public class ApiTestCaseService {
|
||||
|
||||
public void checkNameExist(SaveApiTestCaseRequest request) {
|
||||
if (hasSameCase(request)) {
|
||||
MSException.throwException(Translator.get("load_test_already_exists") + ": " + request.getName());
|
||||
MSException.throwException(Translator.get("case_name_is_already_exist") + ": " + request.getName());
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -342,4 +342,5 @@ create_api_case=New interface use case
|
||||
api_case_create_notice=Interface use case new notification
|
||||
update_api_case=Updated interface use case
|
||||
api_case_update_notice=Interface use case update notification
|
||||
error_xml_struct=Data is not xml
|
||||
error_xml_struct=Data is not xml
|
||||
case_name_is_already_exist=Duplicate Case name
|
@ -362,3 +362,4 @@ api_case_create_notice=接口用例新建通知
|
||||
update_api_case=更新了接口用例
|
||||
api_case_update_notice=接口用例更新通知
|
||||
error_xml_struct=错误的xml数据
|
||||
case_name_is_already_exist=用例名称不能重复
|
||||
|
@ -362,3 +362,4 @@ api_case_create_notice=接口用例新建通知
|
||||
update_api_case=更新了接口用例
|
||||
api_case_update_notice=接口用例更新通知
|
||||
error_xml_struct=錯誤的xml數據
|
||||
case_name_is_already_exist=用例名稱不能重復
|
||||
|
Loading…
Reference in New Issue
Block a user