fix(测试跟踪): 测试用例导出报错
This commit is contained in:
parent
26ba9a93ea
commit
66fb90d8fb
|
@ -457,7 +457,7 @@ public class TestCaseService {
|
|||
if (t.getMethod().equals("manual")) {
|
||||
String steps = t.getSteps();
|
||||
String setp = "";
|
||||
if (steps.contains("null")) {
|
||||
if (steps.contains("null") && !steps.contains("\"null\"")) {
|
||||
setp = steps.replace("null", "\"\"");
|
||||
} else {
|
||||
setp = steps;
|
||||
|
|
Loading…
Reference in New Issue