diff options
Diffstat (limited to 'weed/s3api/s3api_object_retention_test.go')
| -rw-r--r-- | weed/s3api/s3api_object_retention_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/s3api/s3api_object_retention_test.go b/weed/s3api/s3api_object_retention_test.go index 638d37d14..ab5eda7e4 100644 --- a/weed/s3api/s3api_object_retention_test.go +++ b/weed/s3api/s3api_object_retention_test.go @@ -80,7 +80,7 @@ func TestValidateRetention(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateRetention(tt.retention) + err := ValidateRetention(tt.retention) if tt.expectError { if err == nil { @@ -154,7 +154,7 @@ func TestValidateLegalHold(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateLegalHold(tt.legalHold) + err := ValidateLegalHold(tt.legalHold) if tt.expectError { if err == nil { @@ -631,7 +631,7 @@ func TestValidateObjectLockConfiguration(t *testing.T) { for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - err := validateObjectLockConfiguration(tt.config) + err := ValidateObjectLockConfiguration(tt.config) if tt.expectError { if err == nil { |
