Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2021-09-06 18:12:04 +03:00
parent cc72d7f8e5
commit 5b472be4d0

View File

@ -54,7 +54,11 @@ func TestStore(t *testing.T) {
val := []byte("test") val := []byte("test")
key := "key" key := "key"
bucket := "micro-store-s3-" + id.New() uid, err := id.New()
if err != nil {
t.Fatal(err)
}
bucket := "micro-store-s3-" + uid
if err := s.Write(ctx, key, val, WriteBucket(bucket), ContentType("text/plain")); err != nil { if err := s.Write(ctx, key, val, WriteBucket(bucket), ContentType("text/plain")); err != nil {
t.Fatal(err) t.Fatal(err)
} }