Skip to content

Commit 97d51d7

Browse files
authored
Apply suggestions from code review
1 parent 8b31626 commit 97d51d7

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

mmv1/third_party/terraform/services/iamworkforcepool/resource_iam_oauth_client_credential_test.go.tmpl

+11-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func TestAccIAMWorkforcePoolOauthClientCredential_full(t *testing.T) {
3939
ImportStateVerify: true,
4040
ImportStateVerifyIgnore: []string{"location", "oauth_client_credential_id", "oauthclient"},
4141
},
42-
{
42+
{
4343
Config: testAccIAMWorkforcePoolOauthClientCredential_full_cleanOptionalFields(context),
4444
},
4545
{
@@ -48,6 +48,16 @@ func TestAccIAMWorkforcePoolOauthClientCredential_full(t *testing.T) {
4848
ImportStateVerify: true,
4949
ImportStateVerifyIgnore: []string{"location", "oauth_client_credential_id", "oauthclient"},
5050
},
51+
// Ensure that disabled is true so deletion can proceed.
52+
{
53+
Config: testAccIAMWorkforcePoolOauthClientCredential_full_update(context),
54+
},
55+
{
56+
ResourceName: "google_iam_oauth_client_credential.example",
57+
ImportState: true,
58+
ImportStateVerify: true,
59+
ImportStateVerifyIgnore: []string{"location", "oauth_client_credential_id", "oauthclient"},
60+
},
5161
},
5262
})
5363
}

0 commit comments

Comments
 (0)