fix(接口测试): 接口定义中case搜索执行结果失败
This commit is contained in:
parent
e85f7d02e1
commit
f0bdf14cbc
|
@ -822,6 +822,7 @@ public class ApiDefinitionService {
|
|||
apiTestCase.setUpdateUserId(SessionUtils.getUserId());
|
||||
if (sameCase == null) {
|
||||
apiTestCase.setId(UUID.randomUUID().toString());
|
||||
apiTestCase.setStatus("");
|
||||
apiTestCase.setNum(apiTestCaseService.getNextNum(apiTestCase.getApiDefinitionId(), apiDefinition.getNum()));
|
||||
apiTestCase.setCreateTime(System.currentTimeMillis());
|
||||
apiTestCase.setUpdateTime(System.currentTimeMillis());
|
||||
|
|
|
@ -166,7 +166,8 @@ export const API_CASE_RESULT = {
|
|||
options: [
|
||||
{value: 'success', label: 'api_test.automation.success'},
|
||||
{value: 'error', label: 'api_test.automation.fail'},
|
||||
{value: '', label: 'api_test.home_page.detail_card.unexecute'}
|
||||
{value: '', label: 'api_test.home_page.detail_card.unexecute'},
|
||||
{value: 'Running', label: 'commons.testing'}
|
||||
],
|
||||
props: { // 尾部控件的props,一般为element ui控件的props
|
||||
multiple: true
|
||||
|
|
Loading…
Reference in New Issue