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:
Erik Hatcher 2015-09-12 17:31:34 +00:00
parent 84d98091b5
commit d99af904e5
2 changed files with 2 additions and 3 deletions

View File

@ -0,0 +1 @@
$resource.get("color","resources","en_UK")

View File

@ -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