summaryrefslogtreecommitdiff
path: root/internal/action/mock_GTSAction.go
blob: dbc83755f69e11b67ee2ae2215fef4eb409f815e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Code generated by mockery v2.7.4. DO NOT EDIT.

package action

import (
	context "context"

	config "github.com/superseriousbusiness/gotosocial/internal/config"

	logrus "github.com/sirupsen/logrus"

	mock "github.com/stretchr/testify/mock"
)

// MockGTSAction is an autogenerated mock type for the GTSAction type
type MockGTSAction struct {
	mock.Mock
}

// Execute provides a mock function with given fields: _a0, _a1, _a2
func (_m *MockGTSAction) Execute(_a0 context.Context, _a1 *config.Config, _a2 *logrus.Logger) error {
	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
}