mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 04:30:05 -03:30
Change test to use native list for schemas
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
- name: Create a workflow job template
|
- name: Create a workflow job template
|
||||||
tower_workflow_template:
|
tower_workflow_template:
|
||||||
name: my-workflow
|
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
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
@@ -72,7 +72,7 @@
|
|||||||
tower_workflow_template:
|
tower_workflow_template:
|
||||||
name: my-workflow
|
name: my-workflow
|
||||||
organization: Non Existing Organization
|
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
|
register: result
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user