fix(接口测试): 场景批量执行集合报告,选择默认环境执行,没有使用各自的环境

--bug=1039853 --user=陈建星 【接口测试】场景A,运行环境A-场景B,运行环境B-批量执行-并行-查看报告所用环境为同一个 https://www.tapd.cn/55049933/s/1504674
This commit is contained in:
AgAngle 2024-04-22 16:14:13 +08:00 committed by 刘瑞斌
parent 2650f482f6
commit 5bde86d4d9
1 changed files with 0 additions and 2 deletions

View File

@ -358,8 +358,6 @@ public class ApiScenarioBatchRunService {
taskRequest.setSaveResult(true);
taskRequest.setRealTime(false);
taskRequest.setRunModeConfig(runModeConfig);
runModeConfig.setEnvironmentId(getEnvId(runModeConfig, apiScenarioDetail));
runModeConfig.setGrouped(getEnvGroup(runModeConfig, apiScenarioDetail));
return taskRequest;
}