From c6d77a11837c30a6e0980c0125fb29d7e2865f67 Mon Sep 17 00:00:00 2001 From: beeankha Date: Thu, 7 May 2020 12:02:08 -0400 Subject: [PATCH] Update JT integration test --- .../targets/tower_job_template/tasks/main.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/awx_collection/tests/integration/targets/tower_job_template/tasks/main.yml b/awx_collection/tests/integration/targets/tower_job_template/tasks/main.yml index f30e769de0..72711451be 100644 --- a/awx_collection/tests/integration/targets/tower_job_template/tasks/main.yml +++ b/awx_collection/tests/integration/targets/tower_job_template/tasks/main.yml @@ -13,7 +13,7 @@ jt2: "AWX-Collection-tests-tower_job_template-jt2-{{ test_id }}" lab1: "AWX-Collection-tests-tower_job_template-lab1-{{ test_id }}" email_not: "AWX-Collection-tests-tower_job_template-email-not-{{ test_id }}" - webhook_not: "AWX-Collection-tests-tower_notification-wehbook-not-{{ lookup('password', '/dev/null chars=ascii_letters length=16') }}" + webhook_not: "AWX-Collection-tests-tower_notification-wehbook-not-{{ test_id }}" - name: Create a Demo Project tower_project: @@ -75,10 +75,6 @@ state: present register: result -- assert: - that: - - result is changed - - name: Create Job Template 1 tower_job_template: name: "{{ jt1 }}" @@ -374,3 +370,9 @@ name: "{{ email_not }}" organization: Default state: absent + +- name: Delete webhook notification + tower_notification: + name: "{{ webhook_not }}" + organization: Default + state: absent