From 0bc9ffbb23fe6e93d1278c841520d40bf5fb619b Mon Sep 17 00:00:00 2001 From: Clinton Gormley Date: Mon, 1 Jul 2013 16:00:58 +0200 Subject: [PATCH] Added test with missing type to get --- rest-api-spec/test/get/10_basic.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/rest-api-spec/test/get/10_basic.yaml b/rest-api-spec/test/get/10_basic.yaml index 147ec2f498a..e6ec40aabe8 100644 --- a/rest-api-spec/test/get/10_basic.yaml +++ b/rest-api-spec/test/get/10_basic.yaml @@ -27,6 +27,17 @@ index: test_1 type: test id: 1 + + - match: { _index: test_1 } + - match: { _type: test } + - match: { _id: 1 } + - match: { _source: { foo: bar } } + + - do: + get: + index: test_1 + id: 1 + - match: { _index: test_1 } - match: { _type: test } - match: { _id: 1 }