Skip to content

Commit

Permalink
test(s3-bucket): fix object lock reference
Browse files Browse the repository at this point in the history
  • Loading branch information
ekristen committed Nov 1, 2024
1 parent 3e4d7d0 commit e48a7ad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions resources/s3-bucket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"testing"
"time"

"github.com/gotidy/ptr"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/suite"

Expand Down Expand Up @@ -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,
},
Expand Down

0 comments on commit e48a7ad

Please sign in to comment.