fix: 执行旧测试用例报错

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

View File

@ -1079,7 +1079,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);
// 创建场景报告