From 06d4bf57885cd0b4fdc937d9a556d811e542ae3d Mon Sep 17 00:00:00 2001 From: Anmol Sachdeva Date: Fri, 29 Sep 2023 16:40:48 +0000 Subject: [PATCH] fix: apigee unit tests --- tests/modules/apigee/env_only.yaml | 2 +- tests/modules/apigee/env_only_with_api_proxy_type.yaml | 6 +++--- tests/modules/apigee/env_only_with_deployment_type.yaml | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/tests/modules/apigee/env_only.yaml b/tests/modules/apigee/env_only.yaml index 3a5e1ec23..ebea5efbd 100644 --- a/tests/modules/apigee/env_only.yaml +++ b/tests/modules/apigee/env_only.yaml @@ -14,7 +14,7 @@ values: google_apigee_envgroup_attachment.envgroup_attachments["apis-test-test"]: - envgroup_id: test + envgroup_id: organizations/my-project/envgroups/test environment: apis-test timeouts: null google_apigee_environment.environments["apis-test"]: diff --git a/tests/modules/apigee/env_only_with_api_proxy_type.yaml b/tests/modules/apigee/env_only_with_api_proxy_type.yaml index ba9371ab2..842962a15 100644 --- a/tests/modules/apigee/env_only_with_api_proxy_type.yaml +++ b/tests/modules/apigee/env_only_with_api_proxy_type.yaml @@ -14,7 +14,7 @@ values: google_apigee_envgroup_attachment.envgroup_attachments["apis-test-test"]: - envgroup_id: test + envgroup_id: organizations/my-project/envgroups/test environment: apis-test google_apigee_environment.environments["apis-test"]: api_proxy_type: PROGRAMMABLE @@ -22,8 +22,8 @@ values: display_name: APIs test name: apis-test node_config: - - max_node_count: '5' - min_node_count: '2' + - max_node_count: "5" + min_node_count: "2" org_id: organizations/my-project counts: diff --git a/tests/modules/apigee/env_only_with_deployment_type.yaml b/tests/modules/apigee/env_only_with_deployment_type.yaml index f315f4633..7dda0fa77 100644 --- a/tests/modules/apigee/env_only_with_deployment_type.yaml +++ b/tests/modules/apigee/env_only_with_deployment_type.yaml @@ -14,7 +14,7 @@ values: google_apigee_envgroup_attachment.envgroup_attachments["apis-test-test"]: - envgroup_id: test + envgroup_id: organizations/my-project/envgroups/test environment: apis-test timeouts: null google_apigee_environment.environments["apis-test"]: @@ -23,12 +23,11 @@ values: display_name: APIs test name: apis-test node_config: - - max_node_count: '5' - min_node_count: '2' + - max_node_count: "5" + min_node_count: "2" org_id: organizations/my-project timeouts: null counts: google_apigee_envgroup_attachment: 1 google_apigee_environment: 1 -