fix(接口测试): 引用场景num丢失问题修复
This commit is contained in:
parent
2c83a76db4
commit
637a179f17
|
@ -669,6 +669,7 @@ public class ApiAutomationService {
|
||||||
element = JSON.parseObject(scenarioWithBLOBs.getScenarioDefinition());
|
element = JSON.parseObject(scenarioWithBLOBs.getScenarioDefinition());
|
||||||
element.put("referenced", "REF");
|
element.put("referenced", "REF");
|
||||||
}
|
}
|
||||||
|
element.put("id", scenarioWithBLOBs.getId());
|
||||||
element.put("num", scenarioWithBLOBs.getNum());
|
element.put("num", scenarioWithBLOBs.getNum());
|
||||||
element.put("enable", enable);
|
element.put("enable", enable);
|
||||||
element.put("environmentEnable", environmentEnable);
|
element.put("environmentEnable", environmentEnable);
|
||||||
|
@ -697,6 +698,7 @@ public class ApiAutomationService {
|
||||||
element = JSON.parseObject(scenarioWithBLOBs.getScenarioDefinition());
|
element = JSON.parseObject(scenarioWithBLOBs.getScenarioDefinition());
|
||||||
element.put("referenced", "REF");
|
element.put("referenced", "REF");
|
||||||
}
|
}
|
||||||
|
element.put("id", scenarioWithBLOBs.getId());
|
||||||
element.put("enable", enable);
|
element.put("enable", enable);
|
||||||
element.put("environmentEnable", environmentEnable);
|
element.put("environmentEnable", environmentEnable);
|
||||||
element.put("num", scenarioWithBLOBs.getNum());
|
element.put("num", scenarioWithBLOBs.getNum());
|
||||||
|
|
Loading…
Reference in New Issue