unbreak the COMPILE

This commit is contained in:
Robert Muir 2015-04-21 18:43:14 -04:00
parent 25410f880c
commit 22b23f6e44
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ public class GeoShapeFieldMapperTests extends ElasticsearchSingleNodeTest {
DocumentMapper defaultMapper = parser.parse(mapping);
FieldMapper fieldMapper = defaultMapper.mappers().name("location").mapper();
FieldMapper fieldMapper = defaultMapper.mappers().getMapper("location");
assertThat(fieldMapper, instanceOf(GeoShapeFieldMapper.class));
GeoShapeFieldMapper geoShapeFieldMapper = (GeoShapeFieldMapper) fieldMapper;