Skip to content

Commit

Permalink
add test case
Browse files Browse the repository at this point in the history
  • Loading branch information
menglingwei committed Dec 11, 2021
1 parent 5212f62 commit 64bebce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oss/client_transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ func Test_ClientTransPort_CreateBucket(t *testing.T) {
t.Logf("CreateBucket Success")
}

// set bucket ack
err = client.SetBucketACL("abc", ACLPrivate)
if err != nil {
t.Fatalf("SetBucketACL Error %v", err)
} else {
t.Logf("SetBucketACL Success")
}
}

func Test_ClientTransPort_DeleteBucket(t *testing.T) {
Expand Down

0 comments on commit 64bebce

Please sign in to comment.