From be8bfad3afe6443d947ba85f51615416c2be0f2f Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 15 Jul 2023 18:42:51 +0900 Subject: [PATCH] Enable KotlinScriptTemplateTests in Spring WebFlux on Java 20 See gh-29249 Closes gh-30896 --- .../result/view/script/KotlinScriptTemplateTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java index 69bb1658c2a..2db1d7dbbd0 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java @@ -33,14 +33,14 @@ import org.springframework.web.testfixture.http.server.reactive.MockServerHttpRe import org.springframework.web.testfixture.server.MockServerWebExchange; import static org.assertj.core.api.Assertions.assertThat; -import static org.junit.jupiter.api.condition.JRE.JAVA_20; +import static org.junit.jupiter.api.condition.JRE.JAVA_21; /** * Unit tests for Kotlin script templates running on Kotlin JSR-223 support. * * @author Sebastien Deleuze */ -@DisabledForJreRange(min = JAVA_20, disabledReason = "Kotlin doesn't support Java 20+ yet") +@DisabledForJreRange(min = JAVA_21, disabledReason = "Kotlin doesn't support Java 21+ yet") public class KotlinScriptTemplateTests { @Test