From 2fd387d3784a40963b337303f9e814762f475aa1 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Wed, 29 Apr 2015 23:33:43 -0700 Subject: [PATCH] fix dumb test copy/paste mistake --- .../index/mapper/internal/FieldNamesFieldMapperTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapperTests.java b/src/test/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapperTests.java index fdf9d00938b..de606371e1e 100644 --- a/src/test/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapperTests.java +++ b/src/test/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapperTests.java @@ -65,7 +65,7 @@ public class FieldNamesFieldMapperTests extends ElasticsearchSingleNodeTest { public void testFieldType() throws Exception { String mapping = XContentFactory.jsonBuilder().startObject().startObject("type") - .startObject("_field_names").field("store", "yes").endObject() + .startObject("_field_names").endObject() .endObject().endObject().string(); DocumentMapper docMapper = createIndex("test").mapperService().documentMapperParser().parse(mapping);