Fixed put_template test to work with 0.90.3 onwards, where
a missing template now throws a 404
This commit is contained in:
parent
59ca459b1c
commit
f3e69a150d
|
@ -22,6 +22,17 @@
|
||||||
indices.delete_template:
|
indices.delete_template:
|
||||||
name: test
|
name: test
|
||||||
|
|
||||||
|
- skip:
|
||||||
|
version: "0 - 0.90.2"
|
||||||
|
reason: "Missing templates throw 404 from 0.90.3"
|
||||||
|
- do:
|
||||||
|
catch: missing
|
||||||
|
indices.get_template:
|
||||||
|
name: test
|
||||||
|
|
||||||
|
- skip:
|
||||||
|
version: "0.90.3 - 999"
|
||||||
|
reason: "Missing templates didn't throw 404 before 0.90.3"
|
||||||
- do:
|
- do:
|
||||||
indices.get_template:
|
indices.get_template:
|
||||||
name: test
|
name: test
|
||||||
|
|
Loading…
Reference in New Issue