Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Jan 11, 2024
1 parent 8063c88 commit 15e4ea8
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import com.epam.reportportal.formatting.http.prettiers.JsonPrettier;
import com.epam.reportportal.formatting.http.prettiers.Prettier;
import com.epam.reportportal.formatting.http.prettiers.XmlPrettier;
import com.google.common.net.HttpHeaders;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;

Expand Down Expand Up @@ -62,10 +61,10 @@ public void testSessionIdHeaderRemove(Cookie input, String expected) {

public static Iterable<Object[]> headerCases() {
return Arrays.asList(
new Object[] { new Header(HttpHeaders.AUTHORIZATION, "Bearer test_token"),
HttpHeaders.AUTHORIZATION + ": " + Constants.REMOVED_TAG },
new Object[] { new Header("Authorization", "Bearer test_token"),
"Authorization: " + Constants.REMOVED_TAG },
new Object[] { null, null },
new Object[] { new Header(HttpHeaders.ACCEPT, "*/*"), HttpHeaders.ACCEPT + ": \\*/\\*" }
new Object[] { new Header("Accept", "*/*"), "Accept: \\*/\\*" }
);
}

Expand Down

0 comments on commit 15e4ea8

Please sign in to comment.