MM-10412: Adds deleteBy prop to posts. (#8896)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5992a729c5
Коммит
260d7a0f85
@@ -67,12 +67,12 @@ func (_m *PostStore) ClearCaches() {
|
||||
}
|
||||
|
||||
// Delete provides a mock function with given fields: postId, time
|
||||
func (_m *PostStore) Delete(postId string, time int64) store.StoreChannel {
|
||||
func (_m *PostStore) Delete(postId string, time int64, deleteByID string) store.StoreChannel {
|
||||
ret := _m.Called(postId, time)
|
||||
|
||||
var r0 store.StoreChannel
|
||||
if rf, ok := ret.Get(0).(func(string, int64) store.StoreChannel); ok {
|
||||
r0 = rf(postId, time)
|
||||
if rf, ok := ret.Get(0).(func(string, int64, string) store.StoreChannel); ok {
|
||||
r0 = rf(postId, time, deleteByID)
|
||||
} else {
|
||||
if ret.Get(0) != nil {
|
||||
r0 = ret.Get(0).(store.StoreChannel)
|
||||
|
||||
Ссылка в новой задаче
Block a user