Skip to content

Commit

Permalink
tests/resource/aws_s3_bucket_object: Updated Providers with ProviderF…
Browse files Browse the repository at this point in the history
…actories in ignoreTags test (#17716)
  • Loading branch information
gunadhya authored Feb 19, 2021
1 parent 24470cc commit 18547c8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions aws/resource_aws_s3_bucket_object_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/aws/aws-sdk-go/service/s3"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/acctest"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
"github.com/terraform-providers/terraform-provider-aws/aws/internal/keyvaluetags"
)
Expand Down Expand Up @@ -1111,11 +1112,12 @@ func TestAccAWSS3BucketObject_ignoreTags(t *testing.T) {
rName := acctest.RandomWithPrefix("tf-acc-test")
resourceName := "aws_s3_bucket_object.object"
key := "test-key"
var providers []*schema.Provider

resource.ParallelTest(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Providers: testAccProviders,
CheckDestroy: testAccCheckAWSS3BucketObjectDestroy,
PreCheck: func() { testAccPreCheck(t) },
ProviderFactories: testAccProviderFactoriesInternal(&providers),
CheckDestroy: testAccCheckAWSS3BucketObjectDestroy,
Steps: []resource.TestStep{
{
PreConfig: func() {},
Expand Down

0 comments on commit 18547c8

Please sign in to comment.