Indexed scripts/templates: fix yaml test indentation
This commit is contained in:
parent
ab395c1267
commit
0cd1848e88
|
@ -8,8 +8,8 @@
|
||||||
- match: { _id: "1" }
|
- match: { _id: "1" }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
get_template:
|
get_template:
|
||||||
id: 1
|
id: 1
|
||||||
- match: { found: true }
|
- match: { found: true }
|
||||||
- match: { lang: mustache }
|
- match: { lang: mustache }
|
||||||
- match: { _id: "1" }
|
- match: { _id: "1" }
|
||||||
|
@ -17,9 +17,9 @@
|
||||||
- match: { template: /.*query\S\S\S\Smatch_all.*/ }
|
- match: { template: /.*query\S\S\S\Smatch_all.*/ }
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
catch: missing
|
catch: missing
|
||||||
get_template:
|
get_template:
|
||||||
id: 2
|
id: 2
|
||||||
- match: { found: false }
|
- match: { found: false }
|
||||||
- match: { lang: mustache }
|
- match: { lang: mustache }
|
||||||
- match: { _id: "2" }
|
- match: { _id: "2" }
|
||||||
|
@ -27,17 +27,17 @@
|
||||||
- is_false: template
|
- is_false: template
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
delete_template:
|
delete_template:
|
||||||
id: "1"
|
id: "1"
|
||||||
- match: { found: true }
|
- match: { found: true }
|
||||||
- match: { _index: ".scripts" }
|
- match: { _index: ".scripts" }
|
||||||
- match: { _id: "1" }
|
- match: { _id: "1" }
|
||||||
- match: { _version: 2}
|
- match: { _version: 2}
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
catch: missing
|
catch: missing
|
||||||
delete_template:
|
delete_template:
|
||||||
id: "non_existing"
|
id: "non_existing"
|
||||||
- match: { found: false }
|
- match: { found: false }
|
||||||
- match: { _index: ".scripts" }
|
- match: { _index: ".scripts" }
|
||||||
- match: { _id: "non_existing" }
|
- match: { _id: "non_existing" }
|
||||||
|
|
Loading…
Reference in New Issue