Init testStore in init().

This commit is contained in:
Zhang Huangbin
2023-09-05 17:17:31 +08:00
parent dc00bab703
commit ae41d2f5c1
2 changed files with 18 additions and 12 deletions

View File

@@ -8,18 +8,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_SetWithChecksum(t *testing.T) {
var (
key = "john"