Этот коммит содержится в:
Jesús Espino
2019-07-30 09:35:28 +02:00
коммит произвёл Miguel de la Cruz
родитель 8ba6c7f68a
Коммит bce11b7949
11 изменённых файлов: 0 добавлений и 437 удалений

Просмотреть файл

@@ -158,29 +158,6 @@ func (_m *PreferenceStore) GetCategory(userId string, category string) (model.Pr
return r0, r1
}
// IsFeatureEnabled provides a mock function with given fields: feature, userId
func (_m *PreferenceStore) IsFeatureEnabled(feature string, userId string) (bool, *model.AppError) {
ret := _m.Called(feature, userId)
var r0 bool
if rf, ok := ret.Get(0).(func(string, string) bool); ok {
r0 = rf(feature, userId)
} else {
r0 = ret.Get(0).(bool)
}
var r1 *model.AppError
if rf, ok := ret.Get(1).(func(string, string) *model.AppError); ok {
r1 = rf(feature, userId)
} else {
if ret.Get(1) != nil {
r1 = ret.Get(1).(*model.AppError)
}
}
return r0, r1
}
// PermanentDeleteByUser provides a mock function with given fields: userId
func (_m *PreferenceStore) PermanentDeleteByUser(userId string) *model.AppError {
ret := _m.Called(userId)