Fix put script calls in script tests with watcher
Original commit: elastic/x-pack-elasticsearch@2eac2e519266c65759ca4e9617218f198140997e
- do:
put_script:
- lang: transform-script
+ id: transform-script
body: >
{
"script":{
- do:
put_script:
- lang: transform-script
+ id: transform-script
body: >
{
"script":
- do:
put_script:
- lang: condition-script
+ id: condition-script
body: >
{
"script":
- do:
put_script:
- lang: condition-script
+ id: condition-script
body: >
{
"script": {
