From ae86fbb3d53fe2d6deb5dfb4efb00234cf32d68a Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Wed, 24 Nov 2021 19:00:14 +0800 Subject: [PATCH] =?UTF-8?q?fix=20(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):?= =?UTF-8?q?=20=E6=96=87=E6=A1=A3=E6=96=AD=E8=A8=80=E5=BF=85=E5=90=AB?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E5=8B=BE=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../request/assertions/document/DocumentElement.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentElement.java b/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentElement.java index 92e2dc85bd..8f0a02cca6 100644 --- a/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentElement.java +++ b/backend/src/main/java/io/metersphere/api/dto/definition/request/assertions/document/DocumentElement.java @@ -46,12 +46,12 @@ public class DocumentElement { } } - public DocumentElement(String name, String type, Object expectedOutcome, boolean typeVerification, List children) { + public DocumentElement(String name, String type, Object expectedOutcome, boolean include, List children) { this.id = UUID.randomUUID().toString(); this.name = name; this.expectedOutcome = expectedOutcome; this.type = type; - this.typeVerification = typeVerification; + this.include = include; this.children = children == null ? this.children = new LinkedList<>() : children; this.rowspan = 1; this.contentVerification = "value_eq";