diff --git a/server/src/test/java/org/elasticsearch/index/mapper/DocumentParserTests.java b/server/src/test/java/org/elasticsearch/index/mapper/DocumentParserTests.java index 1f2ca564c27e3..94876eb68103d 100644 --- a/server/src/test/java/org/elasticsearch/index/mapper/DocumentParserTests.java +++ b/server/src/test/java/org/elasticsearch/index/mapper/DocumentParserTests.java @@ -151,7 +151,7 @@ public void testRuntimeFieldAndArrayChildren() throws IOException { b.field("dynamic", "true"); b.startObject("runtime"); { - b.startObject("object").field("type", "test").endObject(); + b.startObject("object").field("type", "string").endObject(); } b.endObject(); })); @@ -186,8 +186,8 @@ public void testRuntimeFieldDoesNotShadowObjectChildren() throws IOException { b.field("dynamic", "true"); b.startObject("runtime"); { - b.startObject("location").field("type", "test").endObject(); - b.startObject("country").field("type", "test").endObject(); + b.startObject("location").field("type", "string").endObject(); + b.startObject("country").field("type", "string").endObject(); } b.endObject(); b.startObject("properties");