mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-19 10:12:47 +08:00
[MM-67231] Etag fixes for autotranslations (#35196)
This commit is contained in:
@@ -256,26 +256,6 @@ func (_m *AutoTranslationInterface) MakeWorker() model.Worker {
|
||||
return r0
|
||||
}
|
||||
|
||||
// SetUserEnabled provides a mock function with given fields: channelID, userID, enabled
|
||||
func (_m *AutoTranslationInterface) SetUserEnabled(channelID string, userID string, enabled bool) *model.AppError {
|
||||
ret := _m.Called(channelID, userID, enabled)
|
||||
|
||||
if len(ret) == 0 {
|
||||
panic("no return value specified for SetUserEnabled")
|
||||
}
|
||||
|
||||
var r0 *model.AppError
|
||||
if rf, ok := ret.Get(0).(func(string, string, bool) *model.AppError); ok {
|
||||
r0 = rf(channelID, userID, enabled)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(*model.AppError)
|
||||
}
|
||||
}
|
||||
|
||||
return r0
|
||||
}
|
||||
|
||||
// Shutdown provides a mock function with no fields
|
||||
func (_m *AutoTranslationInterface) Shutdown() error {
|
||||
ret := _m.Called()
|
||||
|
||||
Reference in New Issue
Block a user