From df08894b537cba9c8c54c0eef27873b2ab60412c Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Tue, 3 Dec 2013 10:56:55 +0100 Subject: [PATCH] Fix broken test. --- .../index/mapper/core/TokenCountFieldMapperTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapperTests.java b/src/test/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapperTests.java index dad48295db8..502a0005ecc 100644 --- a/src/test/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapperTests.java +++ b/src/test/java/org/elasticsearch/index/mapper/core/TokenCountFieldMapperTests.java @@ -46,7 +46,7 @@ public class TokenCountFieldMapperTests extends ElasticsearchTestCase { .startObject("properties") .startObject("tc") .field("type", "token_count") - .field("tokenizer", "keyword") + .field("analyzer", "keyword") .endObject() .endObject() .endObject().endObject().string(); @@ -57,7 +57,7 @@ public class TokenCountFieldMapperTests extends ElasticsearchTestCase { .startObject("properties") .startObject("tc") .field("type", "token_count") - .field("tokenizer", "standard") + .field("analyzer", "standard") .endObject() .endObject() .endObject().endObject().string();