fix(接口测试): 修复一个场景集成有未执行请求问题

This commit is contained in:
fit2-zhao 2022-03-23 18:57:38 +08:00 committed by CountryBuilder
parent f624aea0aa
commit b95e3e5b07

View File

@ -170,6 +170,8 @@ public class MsScenario extends MsTestElement {
el.setParent(this);
el.setMockEnvironment(this.isMockEnvironment());
if (this.isEnvironmentEnable()) {
newConfig.setScenarioId(config.getScenarioId());
newConfig.setReportType(config.getReportType());
el.toHashTree(scenarioTree, el.getHashTree(), newConfig);
} else {
el.toHashTree(scenarioTree, el.getHashTree(), config);