Esempio n. 1
0
        public async Task UpdateBucket()
        {
            using (var t = new TestBucket())
            {
                Assert.AreEqual("allPrivate", t.createBucketResponse.bucketType);
                var u = await t.UpdateBucket("allPublic");

                var b = await t.ListBuckets();

                Assert.AreEqual("allPublic", b.buckets.First(x => x.bucketId == t.BucketId).bucketType);
            }
        }