MM-57759: Bump mockery to version 2.42.2 to support go 1.22^ (#26761)
Этот коммит содержится в:
@@ -1,4 +1,4 @@
|
||||
// Code generated by mockery v2.23.2. DO NOT EDIT.
|
||||
// Code generated by mockery v2.42.2. DO NOT EDIT.
|
||||
|
||||
// Regenerate this file using `make einterfaces-mocks`.
|
||||
|
||||
@@ -19,6 +19,10 @@ type ComplianceInterface struct {
|
||||
func (_m *ComplianceInterface) RunComplianceJob(rctx request.CTX, job *model.Compliance) *model.AppError {
|
||||
ret := _m.Called(rctx, job)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for RunComplianceJob")
|
||||
}
|
||||
|
||||
var r0 *model.AppError
|
||||
if rf, ok := ret.Get(0).(func(request.CTX, *model.Compliance) *model.AppError); ok {
|
||||
r0 = rf(rctx, job)
|
||||
@@ -36,13 +40,12 @@ func (_m *ComplianceInterface) StartComplianceDailyJob() {
|
||||
_m.Called()
|
||||
}
|
||||
|
||||
type mockConstructorTestingTNewComplianceInterface interface {
|
||||
// NewComplianceInterface creates a new instance of ComplianceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
// The first argument is typically a *testing.T value.
|
||||
func NewComplianceInterface(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}
|
||||
|
||||
// NewComplianceInterface creates a new instance of ComplianceInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
func NewComplianceInterface(t mockConstructorTestingTNewComplianceInterface) *ComplianceInterface {
|
||||
}) *ComplianceInterface {
|
||||
mock := &ComplianceInterface{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user