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);
|
context.reset(parser);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
FieldSortBuilder.PROTOTYPE.fromXContent(context, "");
|
FieldSortBuilder.fromXContent(context, "");
|
||||||
fail("adding reverse sorting option should fail with an exception");
|
fail("adding reverse sorting option should fail with an exception");
|
||||||
} catch (ParsingException e) {
|
} catch (ParsingException e) {
|
||||||
// all good
|
// all good
|
||||||
|
|
|
@ -218,7 +218,7 @@ public class GeoDistanceSortBuilderTests extends AbstractSortTestCase<GeoDistanc
|
||||||
context.reset(itemParser);
|
context.reset(itemParser);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
GeoDistanceSortBuilder.PROTOTYPE.fromXContent(context, "");
|
GeoDistanceSortBuilder.fromXContent(context, "");
|
||||||
fail("adding reverse sorting option should fail with an exception");
|
fail("adding reverse sorting option should fail with an exception");
|
||||||
} catch (ParsingException e) {
|
} catch (ParsingException e) {
|
||||||
assertEquals("Sort option [reverse] no longer supported.", e.getMessage());
|
assertEquals("Sort option [reverse] no longer supported.", e.getMessage());
|
||||||
|
|
|
@ -95,7 +95,7 @@ public class ScoreSortBuilderTests extends AbstractSortTestCase<ScoreSortBuilder
|
||||||
context.reset(parser);
|
context.reset(parser);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ScoreSortBuilder.PROTOTYPE.fromXContent(context, "_score");
|
ScoreSortBuilder.fromXContent(context, "_score");
|
||||||
fail("adding reverse sorting option should fail with an exception");
|
fail("adding reverse sorting option should fail with an exception");
|
||||||
} catch (ParsingException e) {
|
} catch (ParsingException e) {
|
||||||
// all good
|
// all good
|
||||||
|
|
Loading…
Reference in New Issue