diff --git a/core/src/test/java/org/elasticsearch/index/query/GeoDistanceRangeQueryTests.java b/core/src/test/java/org/elasticsearch/index/query/GeoDistanceRangeQueryTests.java index 4f415c64209..cba0ab7b215 100644 --- a/core/src/test/java/org/elasticsearch/index/query/GeoDistanceRangeQueryTests.java +++ b/core/src/test/java/org/elasticsearch/index/query/GeoDistanceRangeQueryTests.java @@ -114,7 +114,7 @@ public class GeoDistanceRangeQueryTests extends BaseQueryTestCase 0); + super.testToQuery(); + } + @Test public void testNullFieldName() { GeoDistanceRangeQueryBuilder builder = new GeoDistanceRangeQueryBuilder(null); diff --git a/core/src/test/java/org/elasticsearch/index/query/GeohashCellQueryBuilderTests.java b/core/src/test/java/org/elasticsearch/index/query/GeohashCellQueryBuilderTests.java index f0bc73f1b7c..5a408631cba 100644 --- a/core/src/test/java/org/elasticsearch/index/query/GeohashCellQueryBuilderTests.java +++ b/core/src/test/java/org/elasticsearch/index/query/GeohashCellQueryBuilderTests.java @@ -71,6 +71,17 @@ public class GeohashCellQueryBuilderTests extends BaseQueryTestCase 0); + super.testToQuery(); + } + @Test public void testNullField() { GeohashCellQuery.Builder builder = new Builder(null);