Feat: add List method to Handler interface / implement local.List
This commit is contained in:
@@ -26,6 +26,10 @@ type FileHeaderMock struct {
|
||||
testMock.Mock
|
||||
}
|
||||
|
||||
func (m FileHeaderMock) List(ctx context.Context, path string) ([]response.Object, error) {
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (m FileHeaderMock) Get(ctx context.Context, path string) (response.RSCloser, error) {
|
||||
args := m.Called(ctx, path)
|
||||
return args.Get(0).(response.RSCloser), args.Error(1)
|
||||
|
||||
Reference in New Issue
Block a user