Enable KotlinScriptTemplateTests with Java 19
No support yet for Java 21. Closes gh-29249
This commit is contained in:
parent
717915e6ac
commit
66a1be2d86
|
|
@ -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_19;
|
||||
import static org.junit.jupiter.api.condition.JRE.JAVA_20;
|
||||
|
||||
/**
|
||||
* Unit tests for Kotlin script templates running on Kotlin JSR-223 support.
|
||||
*
|
||||
* @author Sebastien Deleuze
|
||||
*/
|
||||
@DisabledForJreRange(min = JAVA_19, disabledReason = "Kotlin doesn't support Java 19+ yet")
|
||||
@DisabledForJreRange(min = JAVA_20, disabledReason = "Kotlin doesn't support Java 20+ yet")
|
||||
public class KotlinScriptTemplateTests {
|
||||
|
||||
@Test
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import org.springframework.web.testfixture.servlet.MockHttpServletResponse;
|
|||
import org.springframework.web.testfixture.servlet.MockServletContext;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
import static org.junit.jupiter.api.condition.JRE.JAVA_19;
|
||||
import static org.junit.jupiter.api.condition.JRE.JAVA_20;
|
||||
import static org.mockito.Mockito.mock;
|
||||
|
||||
/**
|
||||
|
|
@ -44,7 +44,7 @@ import static org.mockito.Mockito.mock;
|
|||
* @author Sebastien Deleuze
|
||||
* @author Sam Brannen
|
||||
*/
|
||||
@DisabledForJreRange(min = JAVA_19, disabledReason = "Kotlin doesn't support Java 19+ yet")
|
||||
@DisabledForJreRange(min = JAVA_20, disabledReason = "Kotlin doesn't support Java 20+ yet")
|
||||
class KotlinScriptTemplateTests {
|
||||
|
||||
private WebApplicationContext webAppContext = mock();
|
||||
|
|
|
|||
Loading…
Reference in New Issue