Commit 637a179f authored by fit2-zhao's avatar fit2-zhao Committed by fit2-zhao
Browse files

fix(接口测试): 引用场景num丢失问题修复

parent 2c83a76d
Showing with 2 additions and 0 deletions
+2 -0
......@@ -669,6 +669,7 @@ public class ApiAutomationService {
element = JSON.parseObject(scenarioWithBLOBs.getScenarioDefinition());
element.put("referenced", "REF");
}
element.put("id", scenarioWithBLOBs.getId());
element.put("num", scenarioWithBLOBs.getNum());
element.put("enable", enable);
element.put("environmentEnable", environmentEnable);
......@@ -697,6 +698,7 @@ public class ApiAutomationService {
element = JSON.parseObject(scenarioWithBLOBs.getScenarioDefinition());
element.put("referenced", "REF");
}
element.put("id", scenarioWithBLOBs.getId());
element.put("enable", enable);
element.put("environmentEnable", environmentEnable);
element.put("num", scenarioWithBLOBs.getNum());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment