From 260d7a0f850a6f772b14b011022f1f65213a08a1 Mon Sep 17 00:00:00 2001 From: Martin Kraft Date: Fri, 1 Jun 2018 12:45:46 -0400 Subject: MM-10412: Adds deleteBy prop to posts. (#8896) --- store/storetest/mocks/PostStore.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'store/storetest/mocks') diff --git a/store/storetest/mocks/PostStore.go b/store/storetest/mocks/PostStore.go index 130bfafd7..8f56bc4b2 100644 --- a/store/storetest/mocks/PostStore.go +++ b/store/storetest/mocks/PostStore.go @@ -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) -- cgit v1.2.3-1-g7c22