From 9a1e146c86407382e6fd56e0bfc2ec15c9eda744 Mon Sep 17 00:00:00 2001 From: Moritz Halbritter Date: Mon, 18 Sep 2023 09:51:39 +0200 Subject: [PATCH] Polish PrivateKeyParserTests --- .../boot/web/server/PrivateKeyParserTests.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java index 4000783fc6b..d24bf322c2f 100644 --- a/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java +++ b/spring-boot-project/spring-boot/src/test/java/org/springframework/boot/web/server/PrivateKeyParserTests.java @@ -20,8 +20,6 @@ import java.security.PrivateKey; import java.security.interfaces.ECPrivateKey; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledForJreRange; -import org.junit.jupiter.api.condition.JRE; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; @@ -126,7 +124,6 @@ class PrivateKeyParserTests { .hasMessageContaining("Unrecognized private key format"); } - @EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "EdDSA is only supported since Java 17") @ParameterizedTest // @formatter:off @ValueSource(strings = { @@ -141,7 +138,6 @@ class PrivateKeyParserTests { assertThat(privateKey.getAlgorithm()).isEqualTo("EdDSA"); } - @EnabledForJreRange(min = JRE.JAVA_17, disabledReason = "XDH is only supported since Java 17") @ParameterizedTest // @formatter:off @ValueSource(strings = {