[MM-67231] Etag fixes for autotranslations (#35196)

This commit is contained in:
Ben Cooke
2026-02-09 18:32:26 -05:00
committed by GitHub
parent 74b5fb066c
commit 76b3528c2b
24 changed files with 334 additions and 202 deletions
@@ -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()