Make put_mapping tests work for 0.90.2 and master

This commit is contained in:
Honza Kral 2013-07-23 20:26:58 +02:00
parent 3e01daf34f
commit 2527f5a9fa
1 changed files with 4 additions and 6 deletions

View File

@ -18,10 +18,9 @@
- do:
indices.get_mapping:
index: test_index
type: test_type
- match: {test_type.properties.text.type: string}
- match: {test_type.properties.text.analyzer: whitespace}
- match: {test_index.test_type.properties.text.type: string}
- match: {test_index.test_type.properties.text.analyzer: whitespace}
- do:
indices.put_mapping:
@ -43,7 +42,6 @@
- do:
indices.get_mapping:
index: test_index
type: test_type
- match: {test_type.properties.text.type: multi_field}
- match: {test_type.properties.text.fields.text_raw.index: not_analyzed}
- match: {test_index.test_type.properties.text.type: multi_field}
- match: {test_index.test_type.properties.text.fields.text_raw.index: not_analyzed}