summaryrefslogtreecommitdiffstats
path: root/store/storetest/mocks/ChannelStore.go
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2018-05-17 16:28:14 +0100
committerGitHub <noreply@github.com>2018-05-17 16:28:14 +0100
commita09dc68e1d99394f5d636284e0580dd17b2773b3 (patch)
tree83292b4af174445cde44309928d2ebf90d184910 /store/storetest/mocks/ChannelStore.go
parentd61f13d9b47efbbfb220b1ea33623372c4f6d1ae (diff)
downloadchat-a09dc68e1d99394f5d636284e0580dd17b2773b3.tar.gz
chat-a09dc68e1d99394f5d636284e0580dd17b2773b3.tar.bz2
chat-a09dc68e1d99394f5d636284e0580dd17b2773b3.zip
MM-10235: Make permissions reset CLI shcemes-aware. (#8773)
* MM-10235: Make permissions reset CLI shcemes-aware. * Add i18n strings.
Diffstat (limited to 'store/storetest/mocks/ChannelStore.go')
-rw-r--r--store/storetest/mocks/ChannelStore.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/store/storetest/mocks/ChannelStore.go b/store/storetest/mocks/ChannelStore.go
index 8858e3d3b..10ac908e4 100644
--- a/store/storetest/mocks/ChannelStore.go
+++ b/store/storetest/mocks/ChannelStore.go
@@ -679,6 +679,22 @@ func (_m *ChannelStore) RemoveMember(channelId string, userId string) store.Stor
return r0
}
+// ResetAllChannelSchemes provides a mock function with given fields:
+func (_m *ChannelStore) ResetAllChannelSchemes() store.StoreChannel {
+ ret := _m.Called()
+
+ var r0 store.StoreChannel
+ if rf, ok := ret.Get(0).(func() store.StoreChannel); ok {
+ r0 = rf()
+ } else {
+ if ret.Get(0) != nil {
+ r0 = ret.Get(0).(store.StoreChannel)
+ }
+ }
+
+ return r0
+}
+
// Restore provides a mock function with given fields: channelId, time
func (_m *ChannelStore) Restore(channelId string, time int64) store.StoreChannel {
ret := _m.Called(channelId, time)