OpenSearch/rest-api-spec/test/indices.get_template/20_get_missing.yaml

21 lines
438 B
YAML
Raw Normal View History

---
"Get missing template - post 0.90.3":
- skip:
version: "0 - 0.90.2"
reason: "Missing templates throw 404 from 0.90.3"
- do:
catch: missing
indices.get_template:
name: test
---
"Get missing template - pre 0.90.3":
- skip:
version: "0.90.3 - 999"
reason: "Missing templates didn't throw 404 before 0.90.3"
- do:
indices.get_template:
name: test
- match: {'': {}}