Skip to content

Commit

Permalink
remove additional tests for caikmskey
Browse files Browse the repository at this point in the history
  • Loading branch information
eeaton committed Jun 21, 2024
1 parent ecedc24 commit 097660c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/integration/org/org_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,10 @@ func TestOrg(t *testing.T) {
// Cloud Function Storage Bucket
bktArgs := gcloud.WithCommonArgs([]string{"--project", sccProjectID, "--json"})
opSrcBucket := gcloud.Run(t, fmt.Sprintf("alpha storage ls --buckets gs://%s", caiBucket), bktArgs).Array()
assert.Equal(caiKmsKey, opSrcBucket[0].Get("metadata.encryption.defaultKmsKeyName").String(), fmt.Sprintf("Should have same KMS key: %s", caiKmsKey))
assert.Equal("true", opSrcBucket[0].Get("metadata.iamConfiguration.bucketPolicyOnly.enabled").String(), "Should have Bucket Policy Only enabled.")

// Cloud Function Artifact Registry
opAR := gcloud.Runf(t, "artifacts repositories describe %s --project %s --location %s", caiAr, sccProjectID, defaultRegion)
assert.Equal(caiKmsKey, opAR.Get("kmsKeyName").String(), fmt.Sprintf("Should have KMS Key: %s", caiKmsKey))
assert.Equal("DOCKER", opAR.Get("format").String(), "Should have type: DOCKER")

// Cloud Function Pub/Sub
Expand Down

0 comments on commit 097660c

Please sign in to comment.