gotosocial/internal/action/mock_GTSAction.go

32 lines
744 B
Go
Raw Normal View History

2021-03-26 23:55:32 +01:00
// Code generated by mockery v2.7.4. DO NOT EDIT.
2021-03-27 16:27:28 +01:00
package action
2021-03-26 23:55:32 +01:00
import (
context "context"
2021-03-27 13:00:22 +01:00
config "github.com/superseriousbusiness/gotosocial/internal/config"
2021-03-26 23:55:32 +01:00
logrus "github.com/sirupsen/logrus"
mock "github.com/stretchr/testify/mock"
)
2021-03-27 16:27:28 +01:00
// MockGTSAction is an autogenerated mock type for the GTSAction type
type MockGTSAction struct {
2021-03-26 23:55:32 +01:00
mock.Mock
}
// Execute provides a mock function with given fields: _a0, _a1, _a2
2021-03-27 16:27:28 +01:00
func (_m *MockGTSAction) Execute(_a0 context.Context, _a1 *config.Config, _a2 *logrus.Logger) error {
2021-03-26 23:55:32 +01:00
ret := _m.Called(_a0, _a1, _a2)
var r0 error
if rf, ok := ret.Get(0).(func(context.Context, *config.Config, *logrus.Logger) error); ok {
r0 = rf(_a0, _a1, _a2)
} else {
r0 = ret.Error(0)
}
return r0
}