From f5ac27a20d1b7d2d23c7079926c70c115b9522b6 Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Wed, 30 Nov 2016 17:07:53 +0100 Subject: [PATCH] Fix TermsQueryBuilderTests expectations. --- .../index/query/TermsQueryBuilderTests.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/core/src/test/java/org/elasticsearch/index/query/TermsQueryBuilderTests.java b/core/src/test/java/org/elasticsearch/index/query/TermsQueryBuilderTests.java index 80a013094f3..41571d9f090 100644 --- a/core/src/test/java/org/elasticsearch/index/query/TermsQueryBuilderTests.java +++ b/core/src/test/java/org/elasticsearch/index/query/TermsQueryBuilderTests.java @@ -20,6 +20,8 @@ package org.elasticsearch.index.query; import org.apache.lucene.queries.TermsQuery; +import org.apache.lucene.search.BooleanQuery; +import org.apache.lucene.search.ConstantScoreQuery; import org.apache.lucene.search.MatchNoDocsQuery; import org.apache.lucene.search.PointInSetQuery; import org.apache.lucene.search.Query; @@ -108,7 +110,12 @@ public class TermsQueryBuilderTests extends AbstractQueryTestCase