Skip to content

Commit 55d00a4

Browse files
committed
s3: update test names to match renamed blocked_encryption_types attribute
1 parent 09d05fb commit 55d00a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/service/s3/bucket_server_side_encryption_configuration_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func TestAccS3BucketServerSideEncryptionConfiguration_basic(t *testing.T) {
5353
})
5454
}
5555

56-
func TestAccS3BucketServerSideEncryptionConfiguration_blockedEncryptionTypesList(t *testing.T) {
56+
func TestAccS3BucketServerSideEncryptionConfiguration_blockedEncryptionTypes(t *testing.T) {
5757
ctx := acctest.Context(t)
5858
rName := sdkacctest.RandomWithPrefix(acctest.ResourcePrefix)
5959
resourceName := "aws_s3_bucket_server_side_encryption_configuration.test"
@@ -65,7 +65,7 @@ func TestAccS3BucketServerSideEncryptionConfiguration_blockedEncryptionTypesList
6565
CheckDestroy: acctest.CheckDestroyNoop,
6666
Steps: []resource.TestStep{
6767
{
68-
Config: testAccBucketServerSideEncryptionConfigurationConfig_blockedEncryptionTypesList(rName, `["SSE-C"]`),
68+
Config: testAccBucketServerSideEncryptionConfigurationConfig_blockedEncryptionTypes(rName, `["SSE-C"]`),
6969
Check: resource.ComposeAggregateTestCheckFunc(
7070
testAccCheckBucketServerSideEncryptionConfigurationExists(ctx, resourceName),
7171
resource.TestCheckResourceAttr(resourceName, acctest.CtRulePound, "1"),
@@ -82,7 +82,7 @@ func TestAccS3BucketServerSideEncryptionConfiguration_blockedEncryptionTypesList
8282
},
8383
},
8484
{
85-
Config: testAccBucketServerSideEncryptionConfigurationConfig_blockedEncryptionTypesList(rName, `["NONE"]`),
85+
Config: testAccBucketServerSideEncryptionConfigurationConfig_blockedEncryptionTypes(rName, `["NONE"]`),
8686
Check: resource.ComposeAggregateTestCheckFunc(
8787
testAccCheckBucketServerSideEncryptionConfigurationExists(ctx, resourceName),
8888
resource.TestCheckResourceAttr(resourceName, acctest.CtRulePound, "1"),
@@ -675,7 +675,7 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "test" {
675675
`, rName, enabled)
676676
}
677677

678-
func testAccBucketServerSideEncryptionConfigurationConfig_blockedEncryptionTypesList(rName, blockedTypes string) string {
678+
func testAccBucketServerSideEncryptionConfigurationConfig_blockedEncryptionTypes(rName, blockedTypes string) string {
679679
return fmt.Sprintf(`
680680
resource "aws_kms_key" "test" {
681681
description = "KMS Key for Bucket %[1]s"

0 commit comments

Comments
 (0)