From e48a7ade6252afeee78fe67f4f32e2d1b7c78647 Mon Sep 17 00:00:00 2001 From: Erik Kristensen Date: Fri, 1 Nov 2024 16:18:36 -0600 Subject: [PATCH] test(s3-bucket): fix object lock reference --- resources/s3-bucket_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/s3-bucket_test.go b/resources/s3-bucket_test.go index e645ff09..71cd42a7 100644 --- a/resources/s3-bucket_test.go +++ b/resources/s3-bucket_test.go @@ -10,7 +10,6 @@ import ( "testing" "time" - "github.com/gotidy/ptr" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" @@ -168,7 +167,7 @@ func (suite *TestS3BucketBypassGovernanceSuite) TestS3BucketRemoveWithBypass() { bucket := &S3Bucket{ svc: suite.svc, name: suite.bucket, - ObjectLock: ptr.String("Enabled"), + ObjectLock: s3types.ObjectLockEnabledEnabled, settings: &libsettings.Setting{ "BypassGovernanceRetention": true, },