summaryrefslogtreecommitdiff
path: root/rest-api-spec/test/get/80_missing.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api-spec/test/get/80_missing.yaml')
-rw-r--r--rest-api-spec/test/get/80_missing.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/rest-api-spec/test/get/80_missing.yaml b/rest-api-spec/test/get/80_missing.yaml
new file mode 100644
index 0000000..a60d113
--- /dev/null
+++ b/rest-api-spec/test/get/80_missing.yaml
@@ -0,0 +1,19 @@
+---
+"Missing document with catch":
+
+ - do:
+ catch: missing
+ get:
+ index: test_1
+ type: test
+ id: 1
+
+---
+"Missing document with ignore":
+
+ - do:
+ get:
+ index: test_1
+ type: test
+ id: 1
+ ignore: 404