Init testStore in first load test file.

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

View File

@@ -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"