Skip to content

Commit

Permalink
update test to include rule.filter.prefix argument when an empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Mar 17, 2022
1 parent f3f45b2 commit 633ef8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/service/s3/bucket_replication_configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,10 @@ func TestAccS3BucketReplicationConfiguration_filter_emptyPrefix(t *testing.T) {
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
// The "rule" parameter as a TypeList will not have non-nil value
// if prefix was specified as an empty string, which was used as workaround
// when the parameter was a TypeSet
ImportStateVerifyIgnore: []string{"rule.0.filter.0.prefix"},
},
},
})
Expand Down

0 comments on commit 633ef8a

Please sign in to comment.