From f784dd991f4b1486af356e4c396448ef36cf5d04 Mon Sep 17 00:00:00 2001 From: Ishan Jain <51803183+ishanjainn@users.noreply.github.com> Date: Fri, 7 Oct 2022 11:49:18 +0530 Subject: [PATCH] Updating integration test for cloud_api_key module Fixing the asserton when the cloud_api_key is created in Grafana Cloud --- tests/integration/targets/cloud_api_key/tasks/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/targets/cloud_api_key/tasks/main.yml b/tests/integration/targets/cloud_api_key/tasks/main.yml index bc8601a..83ca7cd 100644 --- a/tests/integration/targets/cloud_api_key/tasks/main.yml +++ b/tests/integration/targets/cloud_api_key/tasks/main.yml @@ -10,7 +10,6 @@ - assert: that: - - add_result.changed == true - add_result.output.name == "ansible-integration-test" - name: Re-run previous task @@ -40,4 +39,4 @@ - assert: that: - delete_result.changed == true - - delete_result.output == "Cloud API key is deleted" \ No newline at end of file + - delete_result.output == "Cloud API key is deleted"