Fix broken test.

This commit is contained in:
Adrien Grand 2013-12-03 10:56:55 +01:00
parent 302c762d5e
commit df08894b53
1 changed files with 2 additions and 2 deletions

View File

@ -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();