fix(测试计划): 场景批量执行环境与列表显示不符

This commit is contained in:
AgAngle 2024-06-17 11:57:03 +08:00 committed by Craftsman
parent 298e2ca506
commit 2558978c6f
1 changed files with 1 additions and 1 deletions

View File

@ -217,6 +217,6 @@ public class PlanRunTestPlanApiScenarioService {
ApiScenarioDetail apiScenarioDetail = apiScenarioRunService.getForRun(testPlanReportApiScenario.getApiScenarioId()); ApiScenarioDetail apiScenarioDetail = apiScenarioRunService.getForRun(testPlanReportApiScenario.getApiScenarioId());
apiScenarioDetail.setEnvironmentId(testPlanReportApiScenario.getEnvironmentId()); apiScenarioDetail.setEnvironmentId(testPlanReportApiScenario.getEnvironmentId());
apiScenarioDetail.setGrouped(testPlanReportApiScenario.getGrouped()); apiScenarioDetail.setGrouped(testPlanReportApiScenario.getGrouped());
return apiScenarioRunService.getRunScript(request, testPlanReportApiScenario.getApiScenarioId()); return apiScenarioRunService.getRunScript(request, apiScenarioDetail);
} }
} }