Skip to content

Commit

Permalink
fix for mock types
Browse files Browse the repository at this point in the history
  • Loading branch information
samvel33651 committed Sep 5, 2023
1 parent fef0962 commit 977f479
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contract/pkg/cache/ddc_bucket_contract_cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,19 +267,19 @@ func (m *mockedDdcBucketContract) GetBucketReaders(bucketId bucket.BucketId) ([]
panic("implement me")
}

func (m *mockedDdcBucketContract) BucketSetWriterPerm(bucketId bucket.BucketId, writer types.AccountID) error {
func (m *mockedDdcBucketContract) BucketSetWriterPerm(bucketId bucket.BucketId, writer types.OptionAccountID) error {
panic("implement me")
}

func (m *mockedDdcBucketContract) BucketRevokeWriterPerm(bucketId bucket.BucketId, writer types.AccountID) error {
func (m *mockedDdcBucketContract) BucketRevokeWriterPerm(bucketId bucket.BucketId, writer types.OptionAccountID) error {
panic("implement me")
}

func (m *mockedDdcBucketContract) BucketSetReaderPerm(bucketId bucket.BucketId, reader types.AccountID) error {
func (m *mockedDdcBucketContract) BucketSetReaderPerm(bucketId bucket.BucketId, reader types.OptionAccountID) error {
panic("implement me")
}

func (m *mockedDdcBucketContract) BucketRevokeReaderPerm(bucketId bucket.BucketId, reader types.AccountID) error {
func (m *mockedDdcBucketContract) BucketRevokeReaderPerm(bucketId bucket.BucketId, reader types.OptionAccountID) error {
panic("implement me")
}

Expand Down

0 comments on commit 977f479

Please sign in to comment.