fix(接口测试): 修复一个场景集成有未执行请求问题
This commit is contained in:
parent
34c15e4ef0
commit
246d77fcea
|
@ -170,6 +170,8 @@ public class MsScenario extends MsTestElement {
|
||||||
el.setParent(this);
|
el.setParent(this);
|
||||||
el.setMockEnvironment(this.isMockEnvironment());
|
el.setMockEnvironment(this.isMockEnvironment());
|
||||||
if (this.isEnvironmentEnable()) {
|
if (this.isEnvironmentEnable()) {
|
||||||
|
newConfig.setScenarioId(config.getScenarioId());
|
||||||
|
newConfig.setReportType(config.getReportType());
|
||||||
el.toHashTree(scenarioTree, el.getHashTree(), newConfig);
|
el.toHashTree(scenarioTree, el.getHashTree(), newConfig);
|
||||||
} else {
|
} else {
|
||||||
el.toHashTree(scenarioTree, el.getHashTree(), config);
|
el.toHashTree(scenarioTree, el.getHashTree(), config);
|
||||||
|
|
Loading…
Reference in New Issue