Change test to use native list for schemas

This commit is contained in:
AlanCoding
2020-03-10 16:06:28 -04:00
parent e80843846e
commit feef39c5cc

View File

@@ -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