Skip to content

Commit 81d23bd

Browse files
modular-magicianchrisst
authored andcommitted
Misc minor fixes (#3207)
Signed-off-by: Modular Magician <[email protected]>
1 parent 8055b63 commit 81d23bd

3 files changed

+0
-9
lines changed

google/data_source_google_iam_policy_test.go

-1
This file was deleted.

google/data_source_google_kms_crypto_key_test.go

-5
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ func TestAccDataSourceGoogleKmsCryptoKey_basic(t *testing.T) {
1616
keyParts := strings.Split(kms.CryptoKey.Name, "/")
1717
cryptoKeyId := keyParts[len(keyParts)-1]
1818

19-
fmt.Println(testAccDataSourceGoogleKmsCryptoKey_basic(kms.KeyRing.Name, cryptoKeyId))
20-
2119
resource.Test(t, resource.TestCase{
2220
PreCheck: func() { testAccPreCheck(t) },
2321
Providers: testAccProviders,
@@ -30,9 +28,6 @@ func TestAccDataSourceGoogleKmsCryptoKey_basic(t *testing.T) {
3028
})
3129
}
3230

33-
/*
34-
This test should run in its own project, because KMS key rings and crypto keys are not deletable
35-
*/
3631
func testAccDataSourceGoogleKmsCryptoKey_basic(keyRingName, cryptoKeyName string) string {
3732
return fmt.Sprintf(`
3833
data "google_kms_crypto_key" "kms_crypto_key" {

google/data_source_google_kms_key_ring_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ func TestAccDataSourceGoogleKmsKeyRing_basic(t *testing.T) {
2727
})
2828
}
2929

30-
/*
31-
This test should run in its own project, because keys and key rings are not deletable
32-
*/
3330
func testAccDataSourceGoogleKmsKeyRing_basic(keyRingName string) string {
3431
return fmt.Sprintf(`
3532

0 commit comments

Comments
 (0)