Fix build errors after last merge.
This commit is contained in:
parent
407e2cdcf9
commit
5a913fcc69
|
@ -124,7 +124,7 @@ public class FieldSortBuilderTests extends AbstractSortTestCase<FieldSortBuilder
|
|||
context.reset(parser);
|
||||
|
||||
try {
|
||||
FieldSortBuilder.PROTOTYPE.fromXContent(context, "");
|
||||
FieldSortBuilder.fromXContent(context, "");
|
||||
fail("adding reverse sorting option should fail with an exception");
|
||||
} catch (ParsingException e) {
|
||||
// all good
|
||||
|
|
|
@ -218,7 +218,7 @@ public class GeoDistanceSortBuilderTests extends AbstractSortTestCase<GeoDistanc
|
|||
context.reset(itemParser);
|
||||
|
||||
try {
|
||||
GeoDistanceSortBuilder.PROTOTYPE.fromXContent(context, "");
|
||||
GeoDistanceSortBuilder.fromXContent(context, "");
|
||||
fail("adding reverse sorting option should fail with an exception");
|
||||
} catch (ParsingException e) {
|
||||
assertEquals("Sort option [reverse] no longer supported.", e.getMessage());
|
||||
|
|
|
@ -95,7 +95,7 @@ public class ScoreSortBuilderTests extends AbstractSortTestCase<ScoreSortBuilder
|
|||
context.reset(parser);
|
||||
|
||||
try {
|
||||
ScoreSortBuilder.PROTOTYPE.fromXContent(context, "_score");
|
||||
ScoreSortBuilder.fromXContent(context, "_score");
|
||||
fail("adding reverse sorting option should fail with an exception");
|
||||
} catch (ParsingException e) {
|
||||
// all good
|
||||
|
|
Loading…
Reference in New Issue