mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 03:58:33 +08:00
fix(接口测试): 修复文档断言,数组格式的数据没有显示索引的缺陷
--bug=1028298 --user=王孝刚 【接口测试】test-断言-文档断言-跟随api定义-数组类型字段名可编辑且为空 https://www.tapd.cn/55049933/s/1403739
This commit is contained in:
parent
46f31912cc
commit
7534a5c1ec
@ -33,7 +33,7 @@ public class JSONToDocumentUtil {
|
||||
if (value != null) {
|
||||
type = DocumentUtils.getType(value);
|
||||
}
|
||||
children.add(new DocumentElement(StringUtils.EMPTY, type, value, null));
|
||||
children.add(new DocumentElement(String.valueOf(i), type, value, null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user