Skip to content

Commit 502b5fc

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent e328aab commit 502b5fc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

x-pack/plugin/security/src/test/java/org/elasticsearch/xpack/security/authc/jwt/JwtTypeValidatorTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@ public void testInvalidType() throws ParseException {
6060
final JwtTypeValidator validator = randomFrom(JwtTypeValidator.ID_TOKEN_INSTANCE, JwtTypeValidator.ACCESS_TOKEN_INSTANCE);
6161
final String type = randomBoolean() ? randomAlphaOfLengthBetween(4, 8) : "AT+JWT";
6262

63-
final JWSHeader jwsHeader = JWSHeader.parse(
64-
Map.of("typ", type, "alg", randomAlphaOfLengthBetween(3, 8))
65-
);
63+
final JWSHeader jwsHeader = JWSHeader.parse(Map.of("typ", type, "alg", randomAlphaOfLengthBetween(3, 8)));
6664

6765
final IllegalArgumentException e = expectThrows(
6866
IllegalArgumentException.class,

0 commit comments

Comments
 (0)