diff --git a/s3/s3_methods_test.go b/s3/s3_methods_test.go index a43aa04b..25bf453d 100644 --- a/s3/s3_methods_test.go +++ b/s3/s3_methods_test.go @@ -8,6 +8,18 @@ import ( "github.com/stretchr/testify/require" ) +var testStore = New( + Config{ + Bucket: "testbucket", + Endpoint: "http://127.0.0.1:9000/", + Region: "us-east-1", + Credentials: Credentials{ + AccessKey: "minioadmin", + SecretAccessKey: "minioadmin", + }, + }, +) + func Test_S3_SetWithChecksum(t *testing.T) { var ( key = "john" diff --git a/s3/s3_test.go b/s3/s3_test.go index 599f8251..3a3e49e5 100644 --- a/s3/s3_test.go +++ b/s3/s3_test.go @@ -6,18 +6,6 @@ import ( "github.com/stretchr/testify/require" ) -var testStore = New( - Config{ - Bucket: "testbucket", - Endpoint: "http://127.0.0.1:9000/", - Region: "us-east-1", - Credentials: Credentials{ - AccessKey: "minioadmin", - SecretAccessKey: "minioadmin", - }, - }, -) - func Test_S3_Set(t *testing.T) { var ( key = "john"