Skip to content

Commit 8fa0669

Browse files
author
Alexander Ruchkov
committed
limited prettifying length to 1mb
1 parent 2f95812 commit 8fa0669

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

allure-rest-assured/src/main/java/io/qameta/allure/restassured/AllureRestAssured.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ public class AllureRestAssured implements OrderedFilter {
5151
private String requestAttachmentName = "Request";
5252
private String responseAttachmentName;
5353

54-
public AllureRestAssured() {
55-
}
56-
57-
public AllureRestAssured(int maxAllowedPrettifyLength) {
54+
public AllureRestAssured setMaxAllowedPrettifyLength(final int maxAllowedPrettifyLength) {
5855
this.maxAllowedPrettifyLength = maxAllowedPrettifyLength;
56+
return this;
5957
}
6058

6159
public AllureRestAssured setRequestTemplate(final String templatePath) {

0 commit comments

Comments
 (0)