mirror of https://github.com/apache/lucene.git
SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702650 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
84d98091b5
commit
d99af904e5
|
@ -0,0 +1 @@
|
||||||
|
$resource.get("color","resources","en_UK")
|
|
@ -150,9 +150,7 @@ public class VelocityResponseWriterTest extends SolrTestCaseJ4 {
|
||||||
VelocityResponseWriter.LOCALE,"en_UK")));
|
VelocityResponseWriter.LOCALE,"en_UK")));
|
||||||
|
|
||||||
// Test that $resource.get(key,baseName,locale) works with specified locale
|
// Test that $resource.get(key,baseName,locale) works with specified locale
|
||||||
assertEquals("Colour", h.query(req("q","*:*", "wt","velocityWithCustomTools",VelocityResponseWriter.TEMPLATE,"t",
|
assertEquals("Colour", h.query(req("q","*:*", "wt","velocityWithCustomTools",VelocityResponseWriter.TEMPLATE,"resource_get")));
|
||||||
SolrParamResourceLoader.TEMPLATE_PARAM_PREFIX+"t", "$resource.get(\"color\",\"resources\",\"en_UK\")")));
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue