Remove obsolete Nashorn-based scripting tests
Since the Nashorn JavaScript engine was removed in Java 15, these tests will never be run on a Java 17+ JDK which is required as of Spring Framework 6.0. See gh-27919
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
function render(template, model) {
|
||||
return template.replace("{{title}}", model.title).replace("{{body}}", model.body);
|
||||
}
|
||||
|
||||
function renderWithUrl(template, model, renderingContext) {
|
||||
return template.replace("{{title}}", "Check url parameter").replace("{{body}}", renderingContext.url);
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
<html><head><title>{{title}}</title></head><body><p>{{body}}</p></body></html>
|
||||
Reference in New Issue
Block a user