summaryrefslogtreecommitdiffstats
path: root/store/storetest/mocks/PostStore.go
diff options
context:
space:
mode:
authorMartin Kraft <mkraft@users.noreply.github.com>2018-06-01 12:45:46 -0400
committerGitHub <noreply@github.com>2018-06-01 12:45:46 -0400
commit260d7a0f850a6f772b14b011022f1f65213a08a1 (patch)
tree1090ef2c0c1447be9e64baecd0d7336514922927 /store/storetest/mocks/PostStore.go
parent5992a729c50989b7a39e42a0aaed42bc3914fb13 (diff)
downloadchat-260d7a0f850a6f772b14b011022f1f65213a08a1.tar.gz
chat-260d7a0f850a6f772b14b011022f1f65213a08a1.tar.bz2
chat-260d7a0f850a6f772b14b011022f1f65213a08a1.zip
MM-10412: Adds deleteBy prop to posts. (#8896)
Diffstat (limited to 'store/storetest/mocks/PostStore.go')
-rw-r--r--store/storetest/mocks/PostStore.go6
1 files changed, 3 insertions, 3 deletions
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)