[TEST] fix template query with unmapped fields

This commit is contained in:
Alex Ksikes 2015-09-09 21:13:14 +02:00
parent 7a2dd7d55c
commit 274611c7c0
1 changed files with 1 additions and 1 deletions

View File

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