MM-10412: Adds deleteBy prop to posts. (#8896)

Этот коммит содержится в:
Martin Kraft
2018-06-01 12:45:46 -04:00
коммит произвёл GitHub
родитель 5992a729c5
Коммит 260d7a0f85
8 изменённых файлов: 39 добавлений и 17 удалений

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

@@ -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)