[TEST] fix template query with unmapped fields
This commit is contained in:
parent
7a2dd7d55c
commit
274611c7c0
|
@ -57,7 +57,7 @@ public class TemplateQueryBuilderTests extends BaseQueryTestCase<TemplateQueryBu
|
|||
|
||||
@Override
|
||||
protected void doAssertLuceneQuery(TemplateQueryBuilder queryBuilder, Query query, QueryShardContext context) throws IOException {
|
||||
assertEquals(templateBase.toQuery(createShardContext()), query);
|
||||
assertEquals(templateBase.toQuery(context), query);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue