diff --git a/rgw/admin/user_bucket_test.go b/rgw/admin/user_bucket_test.go index 45dcd1a..b9dd58e 100644 --- a/rgw/admin/user_bucket_test.go +++ b/rgw/admin/user_bucket_test.go @@ -32,12 +32,6 @@ func (suite *RadosGWTestSuite) TestUserBucket() { assert.Equal(suite.T(), 1, len(buckets)) }) - suite.T().Run("list unknown user's buckets", func(_ *testing.T) { - buckets, err := co.ListUsersBuckets(context.Background(), "foo") - assert.NoError(suite.T(), err) - assert.Equal(suite.T(), 0, len(buckets)) - }) - suite.T().Run("list empty user's buckets with stat", func(_ *testing.T) { _, err := co.ListUsersBucketsWithStat(context.Background(), "") assert.Error(suite.T(), err) @@ -54,10 +48,4 @@ func (suite *RadosGWTestSuite) TestUserBucket() { assert.Equal(suite.T(), "admin", b.Owner) assert.NotNil(suite.T(), b.BucketQuota.MaxSize) }) - - suite.T().Run("list unknown user's buckets with stat", func(_ *testing.T) { - buckets, err := co.ListUsersBucketsWithStat(context.Background(), "foo") - assert.NoError(suite.T(), err) - assert.Equal(suite.T(), 0, len(buckets)) - }) }