From feef39c5cc79d0bc359aaf93a88dccfc9e0840b3 Mon Sep 17 00:00:00 2001 From: AlanCoding Date: Tue, 10 Mar 2020 16:06:28 -0400 Subject: [PATCH] Change test to use native list for schemas --- .../targets/tower_workflow_template/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx_collection/tests/integration/targets/tower_workflow_template/tasks/main.yml b/awx_collection/tests/integration/targets/tower_workflow_template/tasks/main.yml index 201c452890..9dd36bc236 100644 --- a/awx_collection/tests/integration/targets/tower_workflow_template/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_workflow_template/tasks/main.yml @@ -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