Delete failing Freemarker test
This test was already ignored as of Java 21 because of a Java behavior change, and now it started failing as of 17.0.14. This commit removes the test entirely.
This commit is contained in:
parent
a4fc68b8e8
commit
ebd80bdd6c
|
@ -28,8 +28,6 @@ import java.util.Map;
|
|||
import freemarker.template.Configuration;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.DisabledForJreRange;
|
||||
import org.junit.jupiter.api.condition.JRE;
|
||||
import reactor.core.publisher.Mono;
|
||||
import reactor.test.StepVerifier;
|
||||
|
||||
|
@ -125,12 +123,6 @@ class FreeMarkerMacroTests {
|
|||
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisabledForJreRange(min = JRE.JAVA_21)
|
||||
public void age() throws Exception {
|
||||
testMacroOutput("AGE", "99");
|
||||
}
|
||||
|
||||
@Test
|
||||
void message() throws Exception {
|
||||
testMacroOutput("MESSAGE", "Howdy Mundo");
|
||||
|
|
|
@ -6,9 +6,6 @@ test template for FreeMarker macro support
|
|||
NAME
|
||||
${command.name}
|
||||
|
||||
AGE
|
||||
${command.age}
|
||||
|
||||
MESSAGE
|
||||
<@spring.message "hello"/> <@spring.message "world"/>
|
||||
|
||||
|
|
|
@ -31,8 +31,6 @@ import jakarta.servlet.ServletException;
|
|||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.DisabledForJreRange;
|
||||
import org.junit.jupiter.api.condition.JRE;
|
||||
|
||||
import org.springframework.beans.testfixture.beans.TestBean;
|
||||
import org.springframework.core.io.ClassPathResource;
|
||||
|
@ -146,12 +144,6 @@ public class FreeMarkerMacroTests {
|
|||
assertThat(getMacroOutput("NAME")).isEqualTo("Darren");
|
||||
}
|
||||
|
||||
@Test
|
||||
@DisabledForJreRange(min = JRE.JAVA_21)
|
||||
public void testAge() throws Exception {
|
||||
assertThat(getMacroOutput("AGE")).isEqualTo("99");
|
||||
}
|
||||
|
||||
@Test
|
||||
void testMessage() throws Exception {
|
||||
assertThat(getMacroOutput("MESSAGE")).isEqualTo("Howdy Mundo");
|
||||
|
|
|
@ -6,9 +6,6 @@ test template for FreeMarker macro test class
|
|||
NAME
|
||||
${command.name}
|
||||
|
||||
AGE
|
||||
${command.age}
|
||||
|
||||
MESSAGE
|
||||
<@spring.message "hello"/> <@spring.message "world"/>
|
||||
|
||||
|
|
Loading…
Reference in New Issue