diff options
Diffstat (limited to 'internal/mocks/notifier.go')
| -rw-r--r-- | internal/mocks/notifier.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/internal/mocks/notifier.go b/internal/mocks/notifier.go index b568e808c..6f31b8e7a 100644 --- a/internal/mocks/notifier.go +++ b/internal/mocks/notifier.go @@ -1,6 +1,10 @@ // Code generated by MockGen. DO NOT EDIT. // Source: github.com/authelia/authelia/v4/internal/notification (interfaces: Notifier) - +// +// Generated by this command: +// +// mockgen -package mocks -destination notifier.go -mock_names Notifier=MockNotifier github.com/authelia/authelia/v4/internal/notification Notifier +// // Package mocks is a generated GoMock package. package mocks @@ -10,7 +14,7 @@ import ( reflect "reflect" templates "github.com/authelia/authelia/v4/internal/templates" - gomock "github.com/golang/mock/gomock" + gomock "go.uber.org/mock/gomock" ) // MockNotifier is a mock of Notifier interface. @@ -37,7 +41,7 @@ func (m *MockNotifier) EXPECT() *MockNotifierMockRecorder { } // Send mocks base method. -func (m *MockNotifier) Send(arg0 context.Context, arg1 mail.Address, arg2 string, arg3 *templates.EmailTemplate, arg4 interface{}) error { +func (m *MockNotifier) Send(arg0 context.Context, arg1 mail.Address, arg2 string, arg3 *templates.EmailTemplate, arg4 any) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "Send", arg0, arg1, arg2, arg3, arg4) ret0, _ := ret[0].(error) @@ -45,7 +49,7 @@ func (m *MockNotifier) Send(arg0 context.Context, arg1 mail.Address, arg2 string } // Send indicates an expected call of Send. -func (mr *MockNotifierMockRecorder) Send(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call { +func (mr *MockNotifierMockRecorder) Send(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Send", reflect.TypeOf((*MockNotifier)(nil).Send), arg0, arg1, arg2, arg3, arg4) } |
