Fix GeoPointFieldMapperTests expectations.

This commit is contained in:
Adrien Grand 2016-01-05 10:26:39 +01:00
parent bf7e2c333a
commit 1fcf9958b2
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class GeoPointFieldMapperTests extends ESSingleNodeTestCase {
boolean indexCreatedBefore22 = version.before(Version.V_2_2_0);
assertThat(doc.rootDoc().getField("point.lat"), notNullValue());
final boolean stored = indexCreatedBefore22 == false;
final boolean stored = false;
assertThat(doc.rootDoc().getField("point.lat").fieldType().stored(), is(stored));
assertThat(doc.rootDoc().getField("point.lon"), notNullValue());
assertThat(doc.rootDoc().getField("point.lon").fieldType().stored(), is(stored));