mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 04:22:33 +08:00
chore: update mocks
This commit is contained in:
committed by
github-actions[bot]
parent
d173755f98
commit
4c6daf5028
@@ -273,51 +273,6 @@ func (_c *CacheRepo_UpdateEnvironments_Call) RunAndReturn(run func() error) *Cac
|
||||
return _c
|
||||
}
|
||||
|
||||
// UpdateRewrites provides a mock function with no fields
|
||||
func (_m *CacheRepo) UpdateRewrites() error {
|
||||
ret := _m.Called()
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for UpdateRewrites")
|
||||
}
|
||||
|
||||
var r0 error
|
||||
if rf, ok := ret.Get(0).(func() error); ok {
|
||||
r0 = rf()
|
||||
} else {
|
||||
r0 = ret.Error(0)
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// CacheRepo_UpdateRewrites_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRewrites'
|
||||
type CacheRepo_UpdateRewrites_Call struct {
|
||||
*mock.Call
|
||||
}
|
||||
|
||||
// UpdateRewrites is a helper method to define mock.On call
|
||||
func (_e *CacheRepo_Expecter) UpdateRewrites() *CacheRepo_UpdateRewrites_Call {
|
||||
return &CacheRepo_UpdateRewrites_Call{Call: _e.mock.On("UpdateRewrites")}
|
||||
}
|
||||
|
||||
func (_c *CacheRepo_UpdateRewrites_Call) Run(run func()) *CacheRepo_UpdateRewrites_Call {
|
||||
_c.Call.Run(func(args mock.Arguments) {
|
||||
run()
|
||||
})
|
||||
return _c
|
||||
}
|
||||
|
||||
func (_c *CacheRepo_UpdateRewrites_Call) Return(_a0 error) *CacheRepo_UpdateRewrites_Call {
|
||||
_c.Call.Return(_a0)
|
||||
return _c
|
||||
}
|
||||
|
||||
func (_c *CacheRepo_UpdateRewrites_Call) RunAndReturn(run func() error) *CacheRepo_UpdateRewrites_Call {
|
||||
_c.Call.Return(run)
|
||||
return _c
|
||||
}
|
||||
|
||||
// UpdateTemplates provides a mock function with no fields
|
||||
func (_m *CacheRepo) UpdateTemplates() error {
|
||||
ret := _m.Called()
|
||||
|
||||
Reference in New Issue
Block a user