From af25e0e677744279b128fb58a9e5a38db1532402 Mon Sep 17 00:00:00 2001 From: thedoubl3j Date: Tue, 14 Jan 2025 15:24:32 -0500 Subject: [PATCH] fixing chris' grenade and lint --- .../tests/integration/targets/credential/tasks/main.yml | 4 ++++ .../tests/integration/targets/inventory/tasks/main.yml | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/awx_collection/tests/integration/targets/credential/tasks/main.yml b/awx_collection/tests/integration/targets/credential/tasks/main.yml index 2bea28e5a391..76be7834544b 100644 --- a/awx_collection/tests/integration/targets/credential/tasks/main.yml +++ b/awx_collection/tests/integration/targets/credential/tasks/main.yml @@ -754,10 +754,12 @@ client_id: joe client_secret: secret register: result + when: insights_found - assert: that: - "result is changed" + when: insights_found - name: Delete an Insights token credential credential: @@ -766,10 +768,12 @@ state: absent credential_type: Insights register: result + when: insights_found - assert: that: - "result is changed" + when: insights_found - name: Create a valid Tower-to-Tower credential credential: diff --git a/awx_collection/tests/integration/targets/inventory/tasks/main.yml b/awx_collection/tests/integration/targets/inventory/tasks/main.yml index 8a01abcb2378..b3a72fd0333f 100644 --- a/awx_collection/tests/integration/targets/inventory/tasks/main.yml +++ b/awx_collection/tests/integration/targets/inventory/tasks/main.yml @@ -211,4 +211,3 @@ instance_group: name: "{{ group_name1 }}" state: absent -