Skip to content

Commit 2130457

Browse files
committed
r/aws_s3control_access_grant: Use correct 'CheckDestroy' function in acceptance tests.
1 parent bed3a83 commit 2130457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/service/s3control/access_grant_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func testAccAccessGrant_disappears(t *testing.T) {
6262
PreCheck: func() { acctest.PreCheck(ctx, t) },
6363
ErrorCheck: acctest.ErrorCheck(t, names.S3ControlEndpointID),
6464
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
65-
CheckDestroy: testAccCheckAccessGrantsLocationDestroy(ctx),
65+
CheckDestroy: testAccCheckAccessGrantDestroy(ctx),
6666
Steps: []resource.TestStep{
6767
{
6868
Config: testAccAccessGrantConfig_basic(rName),
@@ -85,7 +85,7 @@ func testAccAccessGrant_tags(t *testing.T) {
8585
PreCheck: func() { acctest.PreCheck(ctx, t) },
8686
ErrorCheck: acctest.ErrorCheck(t, names.S3ControlEndpointID),
8787
ProtoV5ProviderFactories: acctest.ProtoV5ProviderFactories,
88-
CheckDestroy: testAccCheckAccessGrantsLocationDestroy(ctx),
88+
CheckDestroy: testAccCheckAccessGrantDestroy(ctx),
8989
Steps: []resource.TestStep{
9090
{
9191
Config: testAccAccessGrantConfig_tags1(rName, "key1", "value1"),

0 commit comments

Comments
 (0)