Watcher: Fix JIRA tests (elastic/x-pack-elasticsearch#4271)
The response JSON has changed. Original commit: elastic/x-pack-elasticsearch@86f9973a68
This commit is contained in:
parent
1f48d6d2da
commit
ca6879b83e
|
@ -207,7 +207,7 @@
|
|||
- is_false: hits.hits.0._source.result.actions.0.jira.fields.issuetype.name
|
||||
- match: { hits.hits.0._source.result.actions.0.jira.fields.project.key: "XWT" }
|
||||
- match: { hits.hits.0._source.result.actions.0.jira.fields.labels.0: "integration-tests" }
|
||||
- match: { hits.hits.0._source.result.actions.0.jira.reason: "Bad Request - ThrottlerField [issuetype] has error [issue type is required]\n" }
|
||||
- match: { hits.hits.0._source.result.actions.0.jira.reason: "Bad Request - Field [issuetype] has error [issue type is required]\n" }
|
||||
- match: { hits.hits.0._source.result.actions.0.jira.request.method: "post" }
|
||||
- match: { hits.hits.0._source.result.actions.0.jira.request.path: "/rest/api/2/issue" }
|
||||
- is_true: hits.hits.0._source.result.actions.0.jira.request.auth.basic.username
|
||||
|
|
Loading…
Reference in New Issue