fix(接口测试): 修复引用场景环境错乱问题

This commit is contained in:
fit2-zhao 2021-11-25 20:34:39 +08:00 committed by fit2-zhao
parent 72ac2a9d82
commit 035391c284
1 changed files with 1 additions and 3 deletions

View File

@ -121,10 +121,8 @@ public class MsScenario extends MsTestElement {
}); });
this.setHeaders(headers); this.setHeaders(headers);
} }
if (element.get("environmentMap") != null) {
this.setEnvironmentMap((Map) element.get("environmentMap"));
}
this.setHashTree(sourceHashTree); this.setHashTree(sourceHashTree);
hashTree = sourceHashTree;
} }
} catch (Exception ex) { } catch (Exception ex) {