fix dumb test copy/paste mistake

This commit is contained in:
Ryan Ernst 2015-04-29 23:33:43 -07:00
parent 79a1c38ed6
commit 2fd387d378
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ public class FieldNamesFieldMapperTests extends ElasticsearchSingleNodeTest {
public void testFieldType() throws Exception { public void testFieldType() throws Exception {
String mapping = XContentFactory.jsonBuilder().startObject().startObject("type") String mapping = XContentFactory.jsonBuilder().startObject().startObject("type")
.startObject("_field_names").field("store", "yes").endObject() .startObject("_field_names").endObject()
.endObject().endObject().string(); .endObject().endObject().string();
DocumentMapper docMapper = createIndex("test").mapperService().documentMapperParser().parse(mapping); DocumentMapper docMapper = createIndex("test").mapperService().documentMapperParser().parse(mapping);