Chore: Update mocks with recent mockery (#107816)

This commit is contained in:
Ryan McKinley
2025-07-09 09:15:34 +02:00
committed by GitHub
parent 39904d7b9b
commit 3f502f305d
95 changed files with 877 additions and 522 deletions
@@ -1,4 +1,4 @@
// Code generated by mockery v2.43.1. DO NOT EDIT.
// Code generated by mockery v2.53.4. DO NOT EDIT.
package mocks
@@ -171,7 +171,7 @@ func (_c *WithResults_ArgPlaceholder_Call[T]) RunAndReturn(run func(int) string)
return _c
}
// CurrentEpoch provides a mock function with given fields:
// CurrentEpoch provides a mock function with no fields
func (_m *WithResults[T]) CurrentEpoch() string {
ret := _m.Called()
@@ -216,7 +216,7 @@ func (_c *WithResults_CurrentEpoch_Call[T]) RunAndReturn(run func() string) *Wit
return _c
}
// DialectName provides a mock function with given fields:
// DialectName provides a mock function with no fields
func (_m *WithResults[T]) DialectName() string {
ret := _m.Called()
@@ -261,7 +261,7 @@ func (_c *WithResults_DialectName_Call[T]) RunAndReturn(run func() string) *With
return _c
}
// GetArgs provides a mock function with given fields:
// GetArgs provides a mock function with no fields
func (_m *WithResults[T]) GetArgs() []interface{} {
ret := _m.Called()
@@ -308,7 +308,7 @@ func (_c *WithResults_GetArgs_Call[T]) RunAndReturn(run func() []interface{}) *W
return _c
}
// GetColNames provides a mock function with given fields:
// GetColNames provides a mock function with no fields
func (_m *WithResults[T]) GetColNames() []string {
ret := _m.Called()
@@ -355,7 +355,7 @@ func (_c *WithResults_GetColNames_Call[T]) RunAndReturn(run func() []string) *Wi
return _c
}
// GetScanDest provides a mock function with given fields:
// GetScanDest provides a mock function with no fields
func (_m *WithResults[T]) GetScanDest() []interface{} {
ret := _m.Called()
@@ -515,7 +515,7 @@ func (_c *WithResults_Into_Call[T]) RunAndReturn(run func(reflect.Value, string)
return _c
}
// Reset provides a mock function with given fields:
// Reset provides a mock function with no fields
func (_m *WithResults[T]) Reset() {
_m.Called()
}
@@ -543,11 +543,11 @@ func (_c *WithResults_Reset_Call[T]) Return() *WithResults_Reset_Call[T] {
}
func (_c *WithResults_Reset_Call[T]) RunAndReturn(run func()) *WithResults_Reset_Call[T] {
_c.Call.Return(run)
_c.Run(run)
return _c
}
// Results provides a mock function with given fields:
// Results provides a mock function with no fields
func (_m *WithResults[T]) Results() (T, error) {
ret := _m.Called()
@@ -563,7 +563,9 @@ func (_m *WithResults[T]) Results() (T, error) {
if rf, ok := ret.Get(0).(func() T); ok {
r0 = rf()
} else {
r0 = ret.Get(0).(T)
if ret.Get(0) != nil {
r0 = ret.Get(0).(T)
}
}
if rf, ok := ret.Get(1).(func() error); ok {
@@ -700,11 +702,11 @@ func (_c *WithResults_SetDialect_Call[T]) Return() *WithResults_SetDialect_Call[
}
func (_c *WithResults_SetDialect_Call[T]) RunAndReturn(run func(sqltemplate.Dialect)) *WithResults_SetDialect_Call[T] {
_c.Call.Return(run)
_c.Run(run)
return _c
}
// Validate provides a mock function with given fields:
// Validate provides a mock function with no fields
func (_m *WithResults[T]) Validate() error {
ret := _m.Called()