mirror of https://github.com/apache/lucene.git
SOLR-9565: missed updating the testcase
This commit is contained in:
parent
68d29c9b4f
commit
e2d8f941e1
|
@ -47,10 +47,10 @@ public class UpdateRequestProcessorFactoryTest extends AbstractSolrTestCase {
|
|||
public void testRequestTimeUrp(){
|
||||
SolrCore core = h.getCore();
|
||||
ModifiableSolrParams params = new ModifiableSolrParams()
|
||||
.add("processor", "Template")
|
||||
.add("Template.field", "id_t:${firstName}_${lastName}")
|
||||
.add("Template.field", "another_t:${lastName}_${firstName}")
|
||||
.add("Template.field", "missing_t:${lastName}_${unKnown}");
|
||||
.add("processor", "template")
|
||||
.add("template.field", "id_t:{firstName}_{lastName}")
|
||||
.add("template.field", "another_t:{lastName}_{firstName}")
|
||||
.add("template.field", "missing_t:{lastName}_{unKnown}");
|
||||
UpdateRequestProcessorChain chain = core.getUpdateProcessorChain(params);
|
||||
List<UpdateRequestProcessorFactory> l = chain.getProcessors();
|
||||
assertTrue(l.get(0) instanceof TemplateUpdateProcessorFactory);
|
||||
|
|
Loading…
Reference in New Issue