summaryrefslogtreecommitdiff
path: root/internal/apimodule/mock_ClientAPIModule.go
blob: 2d4293d0eed6805da4b214873a7582d1b8df1551 (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
33
34
35
36
37
38
39
40
41
42
43
// Code generated by mockery v2.7.4. DO NOT EDIT.

package apimodule

import (
	mock "github.com/stretchr/testify/mock"
	db "github.com/superseriousbusiness/gotosocial/internal/db"

	router "github.com/superseriousbusiness/gotosocial/internal/router"
)

// MockClientAPIModule is an autogenerated mock type for the ClientAPIModule type
type MockClientAPIModule struct {
	mock.Mock
}

// CreateTables provides a mock function with given fields: _a0
func (_m *MockClientAPIModule) CreateTables(_a0 db.DB) error {
	ret := _m.Called(_a0)

	var r0 error
	if rf, ok := ret.Get(0).(func(db.DB) error); ok {
		r0 = rf(_a0)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}

// Route provides a mock function with given fields: s
func (_m *MockClientAPIModule) Route(s router.Router) error {
	ret := _m.Called(s)

	var r0 error
	if rf, ok := ret.Get(0).(func(router.Router) error); ok {
		r0 = rf(s)
	} else {
		r0 = ret.Error(0)
	}

	return r0
}