mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Change test to use native list for schemas
This commit is contained in:
parent
e80843846e
commit
feef39c5cc
@ -51,7 +51,7 @@
|
||||
- name: Create a workflow job template
|
||||
tower_workflow_template:
|
||||
name: my-workflow
|
||||
schema: '[{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]'
|
||||
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
@ -72,7 +72,7 @@
|
||||
tower_workflow_template:
|
||||
name: my-workflow
|
||||
organization: Non Existing Organization
|
||||
schema: '[{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]'
|
||||
schema: [{"success": [{"job_template": "my-job-1"}], "job_template": "my-job-2"}]
|
||||
register: result
|
||||
ignore_errors: true
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user