mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix(接口测试): 修复CASE执行未发消息问题
This commit is contained in:
parent
adc19d2161
commit
c7cdeaec88
@ -85,6 +85,7 @@ public class ApiDefinitionExecResultService {
|
||||
ApiDefinitionExecResult result = this.editResult(item, dto.getReportId(), dto.getConsole(), dto.getRunMode(), dto.getTestId(), null);
|
||||
if (result != null) {
|
||||
// 发送通知
|
||||
result.setResourceId(dto.getTestId());
|
||||
sendNotice(result);
|
||||
}
|
||||
//删除用例运行时存放在redis中的用户数据
|
||||
@ -118,6 +119,7 @@ public class ApiDefinitionExecResultService {
|
||||
|
||||
if (result != null && !StringUtils.startsWithAny(dto.getRunMode(), "SCHEDULE")) {
|
||||
// 发送通知
|
||||
result.setResourceId(dto.getTestId());
|
||||
sendNotice(result);
|
||||
}
|
||||
//删除用例运行时存放在redis中的用户数据
|
||||
|
Loading…
Reference in New Issue
Block a user