fix: 执行旧测试用例报错

This commit is contained in:
wenyann 2021-06-15 18:41:41 +08:00 committed by 刘瑞斌
parent 68857b515d
commit 3d3b87949e
1 changed files with 1 additions and 1 deletions

View File

@ -1070,7 +1070,7 @@ public class ApiAutomationService {
scenario.setVariables(variables);
}
group.setEnableCookieShare(scenario.isEnableCookieShare());
group.setOnSampleError(scenario.getOnSampleError());
group.setOnSampleError(scenario.isOnSampleError());
LinkedList<MsTestElement> scenarios = new LinkedList<>();
scenarios.add(scenario);
// 创建场景报告