From be8fad31cf8afeb725493175abbedd9e236c0d01 Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Mon, 23 Sep 2013 13:53:32 +0200 Subject: [PATCH] The get_mapping tests were the wrong way around --- .../test/indices.get_mapping/10_basic.yaml | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/rest-api-spec/test/indices.get_mapping/10_basic.yaml b/rest-api-spec/test/indices.get_mapping/10_basic.yaml index 1be7fb9689d..449837d104b 100644 --- a/rest-api-spec/test/indices.get_mapping/10_basic.yaml +++ b/rest-api-spec/test/indices.get_mapping/10_basic.yaml @@ -24,7 +24,7 @@ setup: "Get type mapping - pre 0.90.2": - skip: - version: "0.90.2 - 999" + version: "0.90.3 - 999" reason: "for newer versions the index name is always returned" - do: @@ -32,20 +32,20 @@ setup: index: test_index type: test_type - - match: {test_index.test_type.properties.text.type: string} - - match: {test_index.test_type.properties.text.analyzer: whitespace} - ---- -"Get type mapping - post 0.90.2": - - - skip: - version: "0 - 0.90.1" - reason: "for older versions, just the type name is returned" - - - do: - indices.get_mapping: - index: test_index - type: test_type - - match: {test_type.properties.text.type: string} - match: {test_type.properties.text.analyzer: whitespace} + +--- +"Get type mapping - post 0.90.2": + + - skip: + version: "0 - 0.90.2" + reason: "for older versions, just the type name is returned" + + - do: + indices.get_mapping: + index: test_index + type: test_type + + - match: {test_index.test_type.properties.text.type: string} + - match: {test_index.test_type.properties.text.analyzer: whitespace}