fix(接口测试): 修复用例执行人错误问题

--bug=1009206 --user=赵勇 [github#8774]API Case执行人错误 https://www.tapd.cn/55049933/s/1088238
This commit is contained in:
fit2-zhao 2021-12-29 17:11:26 +08:00 committed by fit2-zhao
parent 0ab3f6d1b6
commit ec267cf8c9
1 changed files with 0 additions and 4 deletions

View File

@ -327,10 +327,6 @@ public class ApiDefinitionExecResultService {
saveResult.setName(item.getName());
saveResult.setType(type);
saveResult.setCreateTime(item.getStartTime());
if (SessionUtils.getUser() != null) {
saveResult.setUserId(SessionUtils.getUser().getId());
}
String status = item.isSuccess() ? "success" : "error";
saveResult.setName(editStatus(type, status, saveResult.getCreateTime(), saveResult.getId(), testId));
saveResult.setStatus(status);