summaryrefslogtreecommitdiff
path: root/rest-api-spec/test/indices.get_template/20_get_missing.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'rest-api-spec/test/indices.get_template/20_get_missing.yaml')
-rw-r--r--rest-api-spec/test/indices.get_template/20_get_missing.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/rest-api-spec/test/indices.get_template/20_get_missing.yaml b/rest-api-spec/test/indices.get_template/20_get_missing.yaml
new file mode 100644
index 0000000..2751f57
--- /dev/null
+++ b/rest-api-spec/test/indices.get_template/20_get_missing.yaml
@@ -0,0 +1,13 @@
+setup:
+ - do:
+ indices.delete_template:
+ name: '*'
+ ignore: 404
+---
+"Get missing template":
+
+ - do:
+ catch: missing
+ indices.get_template:
+ name: test
+