diff --git a/core/src/test/java/org/elasticsearch/index/mapper/core/StringMappingUpgradeTests.java b/core/src/test/java/org/elasticsearch/index/mapper/core/StringMappingUpgradeTests.java index f98c74a7d25..92cee7c5407 100644 --- a/core/src/test/java/org/elasticsearch/index/mapper/core/StringMappingUpgradeTests.java +++ b/core/src/test/java/org/elasticsearch/index/mapper/core/StringMappingUpgradeTests.java @@ -126,7 +126,7 @@ public class StringMappingUpgradeTests extends ESSingleNodeTestCase { .field("type", "string") .field("index", keyword ? "not_analyzed" : "analyzed") .startObject("fielddata") - .field("forwat", format) + .field("format", format) .field("loading", loading) .startObject("filter") .startObject("frequency")