[Test] Fix InternalStatsTests
After recent changes in InternalStats#doXContentBody the corresponding xContent output of the parsed aggregation needed to be changed in a similar way.
This commit is contained in:
parent
d503782699
commit
9abc26ee92
|
@ -109,7 +109,7 @@ public class ParsedStats extends ParsedAggregation implements Stats {
|
|||
builder.nullField(Fields.MIN);
|
||||
builder.nullField(Fields.MAX);
|
||||
builder.nullField(Fields.AVG);
|
||||
builder.nullField(Fields.SUM);
|
||||
builder.field(Fields.SUM, 0.0d);
|
||||
}
|
||||
otherStatsToXContent(builder, params);
|
||||
return builder;
|
||||
|
|
Loading…
Reference in New Issue