Skip to content

Commit faed245

Browse files
committed
Remove deprecated code usage
1 parent ef101ee commit faed245

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/test/java/com/epam/reportportal/restassured/ReportPortalRestAssuredLoggingFilterTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
import com.epam.reportportal.formatting.http.Constants;
2020
import com.epam.reportportal.formatting.http.converters.DefaultCookieConverter;
21-
import com.epam.reportportal.formatting.http.prettiers.JsonPrettier;
22-
import com.epam.reportportal.formatting.http.prettiers.XmlPrettier;
21+
import com.epam.reportportal.formatting.http.prettifiers.JsonPrettifier;
22+
import com.epam.reportportal.formatting.http.prettifiers.XmlPrettifier;
2323
import com.epam.reportportal.listeners.ItemStatus;
2424
import com.epam.reportportal.listeners.LogLevel;
2525
import com.epam.reportportal.message.ReportPortalMessage;
@@ -118,9 +118,9 @@ public Response next(FilterableRequestSpecification requestSpecification,
118118
public static Iterable<Object[]> requestData() {
119119
return Arrays.asList(
120120
new Object[]{JSON_TYPE, "{\"object\": {\"key\": \"value\"}}", "{\"object\": {\"key\": \"value\"}}",
121-
JsonPrettier.INSTANCE, null, null},
121+
JsonPrettifier.INSTANCE, null, null},
122122
new Object[]{"application/xml", "<test><key><value>value</value></key></test>",
123-
"<test><key><value>value</value></key></test>", XmlPrettier.INSTANCE, null, null}
123+
"<test><key><value>value</value></key></test>", XmlPrettifier.INSTANCE, null, null}
124124
);
125125
}
126126

@@ -612,7 +612,7 @@ public void test_rest_assured_log_filter_type() {
612612
@Test
613613
public void test_rest_assured_logger_text_as_file_multipart() {
614614
String textPath = "test.json";
615-
String text = JsonPrettier.INSTANCE.apply(new String(getResource(textPath)));
615+
String text = JsonPrettifier.INSTANCE.apply(new String(getResource(textPath)));
616616
String requestType = ContentType.MULTIPART_FORM_DATA.getMimeType();
617617
String textType = ContentType.APPLICATION_JSON.getMimeType();
618618

0 commit comments

Comments
 (0)