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`.
|
||||
|
||||
@@ -47,6 +47,10 @@ func (_m *MetricsInterface) DecrementWebSocketBroadcastUsersRegistered(hub strin
|
||||
func (_m *MetricsInterface) GetLoggerMetricsCollector() logr.MetricsCollector {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for GetLoggerMetricsCollector")
|
||||
}
|
||||
|
||||
var r0 logr.MetricsCollector
|
||||
if rf, ok := ret.Get(0).(func() logr.MetricsCollector); ok {
|
||||
r0 = rf()
|
||||
@@ -359,13 +363,12 @@ func (_m *MetricsInterface) UnregisterDBCollector(db *sql.DB, name string) {
|
||||
_m.Called(db, name)
|
||||
}
|
||||
|
||||
type mockConstructorTestingTNewMetricsInterface interface {
|
||||
// NewMetricsInterface creates a new instance of MetricsInterface. 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 NewMetricsInterface(t interface {
|
||||
mock.TestingT
|
||||
Cleanup(func())
|
||||
}
|
||||
|
||||
// NewMetricsInterface creates a new instance of MetricsInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
|
||||
func NewMetricsInterface(t mockConstructorTestingTNewMetricsInterface) *MetricsInterface {
|
||||
}) *MetricsInterface {
|
||||
mock := &MetricsInterface{}
|
||||
mock.Mock.Test(t)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user